Wash and peel the potatoes, then cut them into bite-sized cubes. Peel and slice the onion into thin rings or chunks.
In a large bowl, toss the potato cubes and onion slices with olive oil until evenly coated. Add your chosen seasonings (e.g., garlic powder, paprika, salt, and pepper) and toss again to distribute the flavors.
Preheat your air fryer to 400°F (200°C) for about 5 minutes.
Place the seasoned potatoes and onions in the air fryer basket in a single layer, ensuring they’re not overcrowded. Cook for 15-20 minutes, shaking the basket halfway through to ensure even cooking.
Once the potatoes are golden brown and crispy on the outside and tender on the inside, and the onions are soft and caramelized, remove them from the air fryer.
Serve the air-fried potatoes and onions hot as a delicious side dish or snack.