Quick answer: Lime juice is the closest 1:1 substitute for lemon juice in almost any recipe, matching both its tartness and acidity. For baking specifically, lemon extract or citric acid work well when you need the flavor without extra liquid, while vinegar is the better choice in savory cooking when you just need acidity.

If you’re out of lemons mid-recipe, lime juice is almost always your best move: swap it in at a 1:1 ratio and most people won’t notice the difference, since it matches lemon’s tartness and acidity closely enough for both cooking and baking. Past that, the right substitute depends on whether you need the flavor, the acidity, or both.

Quick substitution guide

Substitute Ratio Best for
Lime juice 1:1 Almost anything, savory or sweet
Orange juice 1:1 Baking, where extra sweetness is fine
White or apple cider vinegar 1/2:1 Savory cooking, when only acidity matters
Rice vinegar 1/2:1 Delicate sauces, dressings
Lemon extract 1 tsp per 2 tbsp juice Baking, when you don’t want added liquid
Citric acid 1/4 tsp per 1 tbsp juice Baking, pickling, precise acidity
White wine 2:1 Savory sauces, deglazing

For baking

Baking recipes are the trickiest place to substitute, since lemon juice isn’t just adding flavor, it’s also part of the batter’s total liquid, and swapping it for something with a different consistency or acidity can throw off texture.

For savory cooking

In savory dishes, lemon juice is usually doing one of two jobs: adding brightness, or providing the acid that balances fat and salt.

What doesn’t work as well

Skip these unless it’s truly your only option:

Choosing the right one

Ask what the lemon juice is actually doing in the recipe before you substitute. If it’s mainly there for tartness and brightness, like in a lemon vinaigrette or a squeeze over finished lemon chicken piccata, lime juice is nearly seamless. If it’s there for acidity to balance rich or fatty ingredients, vinegar can step in with less fuss. And if you’re baking and need to avoid extra liquid altogether, reach for lemon extract or citric acid instead of any juice at all.