Preheat the air fryer: Set to 400°F (200°C) for 3–5 minutes.
A hot basket helps the corn char nicely.
Prep the corn: Pat the ears dry. Rub with oil and season with salt and pepper. If your air fryer is small, cut the cobs in half.
Cook the corn: Place in a single layer.
Air fry for 10–14 minutes, turning halfway. You want tender kernels with golden or lightly charred spots. Cooking time varies by ear size and air fryer model.
Make the elote sauce: While the corn cooks, mix mayonnaise, crema, lime juice, chili powder, smoked paprika (if using), and garlic in a small bowl.
Taste and add a pinch of salt if needed.
Coat the corn: When the corn is done, let it cool for 1–2 minutes. Brush or spoon the sauce all over each ear.
Add toppings: Sprinkle generously with cotija and cilantro. Dust with extra chili powder or Tajín.
Serve with lime wedges.
Optional finishing touch: For a little kick, add a few drops of hot sauce or a pinch of cayenne.