How long to cook tofu

Tofu can be eaten straight from the package, so cooking is about texture and heating it through. Pan-fried planks take 3–4 minutes per side, baked cubes about 30 minutes at 400°F (204°C), and stir-fried 1-inch (2.5 cm) pieces 5–7 minutes. Firm or extra-firm tofu holds its shape best.

Tofu cooking times by method
MethodTimeHeat
Pan-fry 3–5 minutes per side for planks or slabs Oiled skillet over medium-high heat, pan not crowded
Bake About 30 minutes for cubes or planks at 350°F (177°C)–400°F (177°C–204°C) 350°F (177°C)–425°F (177°C–218°C) oven, pieces in a single layer, turned once
Stir-fry 5–7 minutes for 1-inch (2.5 cm) pieces until golden, then about 2 minutes with the sauce Hot oiled skillet or wok, high or medium-high heat
Air-fry 15–20 minutes for 1-inch (2.5 cm) cubes at 375°F (191°C); about 18 minutes at 370–400°F (188–204°C) Preheated air fryer at 370–400°F (188–204°C), cubes coated in cornstarch, in a single layer and shaken partway
Grill 8–10 minutes for ¾-inch (2 cm) slices over direct medium-high heat, turned once Direct medium-high heat, about 410–465°F (210–240°C), on clean oiled grates or a sheet of foil

Doneness

Quick timer

Tofu timer

Preset

4:00

Start checking in 3:00 Done in 4:00

Each preset is the default case of its method. The method pages below have every size and setting.

Before you cook

Press firm tofu

Wrap firm or extra-firm tofu in a clean towel, set a heavy pan or cans on top, and press for at least 30 minutes, or up to 2 hours. Unpressed tofu can turn watery and lose its shape, and too much weight makes it crumble.

Silken and soft tofu

Do not press silken or soft tofu. It is delicate and best cooked lightly; a 2–3 minute dip in simmering water, not boiling, firms cubes up.

Storing tofu

Refrigerate leftovers within 2 hours. Leftover raw tofu keeps for up to a week covered in water that is changed daily, and frozen tofu keeps up to 5 months.

Method guides

Questions people ask

How do I know when tofu is cooked?

Tofu is already ready to eat, so cooked means the texture you want. Look for a golden crust that has set before you flip it, or firm, lightly browned edges for baked pieces. Pale, soft tofu needs more time.

How long should tofu be cooked?

It depends on the method and the cut. Thin slices roast in 15–20 minutes at 425°F (218°C), marinated pieces bake about 30 minutes at 350°F (177°C), and cornstarch-coated cubes shallow-fry in 4–5 minutes.

Can you eat tofu raw?

Yes. It can be eaten raw or straight from the package, and the soymilk it is made from is steam cooked before it is curdled. Most people press, season and cook it for a better texture.

Does freezing change tofu?

Freezing and thawing makes tofu firmer and helps it take up more flavor from a marinade.

Charts and calculators

Related foods

Sources

  1. University of Illinois Extension (Eat.Move.Save.). All About Tofu. Accessed November 25, 2026.
  2. Food Network Kitchen. How to Cook Tofu. Accessed November 25, 2026.
  3. USDA Food and Nutrition Service (WIC Works Resource System). Tofu Stir Fry. Accessed November 25, 2026.
  4. Rutgers Cooperative Extension, New Jersey Agricultural Experiment Station. Tofu Made Easy: A Simple Guide to a Nutritious and Versatile, Plant-Based Protein (FS792). Accessed November 25, 2026.
  5. Food Hero, Oregon State University Extension Service. Baked Tofu. Accessed November 25, 2026.
  6. America's Test Kitchen. How to Make Tofu Taste Great. Accessed November 25, 2026.
  7. America's Test Kitchen. Teriyaki Tofu. Accessed November 25, 2026.
  8. Food Network Kitchen. How to Press Tofu. Accessed November 25, 2026.
  9. Food Network Kitchen. The Best Crispy Tofu. Accessed November 25, 2026.
  10. America's Test Kitchen. Spiced Sheet-Pan Tofu Bowls. Accessed November 25, 2026.
  11. University of Illinois Extension (Eat.Move.Save.). Soy-Lime Tofu. Accessed November 25, 2026.
  12. University of Maine Cooperative Extension. Stir Fry Vegetables with Chicken, Beef or Tofu. Accessed November 25, 2026.
  13. America's Test Kitchen. Stir-Fried Tofu with Ginger-Oyster Sauce. Accessed November 25, 2026.
  14. University of Maine Cooperative Extension. General Tso’s Tofu. Accessed November 25, 2026.
  15. Cosori. Cosori Air Fryer Recipes, CP358-AF & CS358-AF (PDF). Accessed November 25, 2026.
  16. Cosori. Cosori TurboBlaze Turbo Modes Express: 100 Rapid Recipes (PDF). Accessed November 25, 2026.
  17. Weber. Grill Skill: Vegetables and Plant-Based Barbecuing Guide (PDF). Accessed November 25, 2026.
  18. Weber. Weber Malaysia: Lemon-Ginger Tofu Steaks with Carrot and Cashew Salad. Accessed November 25, 2026.
  19. America's Test Kitchen. Grilled Soy-Ginger Glazed Tofu. Accessed November 25, 2026.

By Cooking Timers editorial team. Last reviewed . How we verify cooking times.