Preheat the oven to 375°F (190°C). Line a baking sheet with parchment paper to prevent sticking.
Pat the cod fillets dry with paper towels, then place them on the prepared baking sheet. Drizzle olive oil evenly over the fillets.
Sprinkle salt and freshly ground black pepper evenly over the fillets. Gently press the seasonings into the fish to adhere.
Bake in the preheated oven for 12-15 minutes, or until the fillets are opaque and easily flake apart with a fork. The surface should be lightly golden and the fish firm but tender.
Remove from oven and let rest for 2 minutes. Serve immediately with your choice of sides.