A jam filling adds sweet fruit flavor and moisture to cakes, thumbprint cookies, turnovers, and pastries. This recipe makes a thick, spreadable filling that won’t leak during baking. Use any fruit jam or jelly, or make your own from fresh or frozen fruit.
Serves 12 · Prep 15 min · Cook 20 min · Total 35 min
Ingredients
- 2 cups (300 g) fresh or frozen berries (strawberries, raspberries, blueberries, blackberries)
- ¾ cup (150 g) granulated sugar
- 2 tablespoons (30 ml) water
- 1 tablespoon (15 g) lemon juice
- 1½ teaspoons (7.5 ml) lemon zest (optional)
- 1 tablespoon (8 g) cornstarch or 2 teaspoons (6 g) tapioca starch
- 1 teaspoon (5 ml) vanilla extract (optional)
Prep
Prepare fruit
Wash and hull fresh berries. Chop large berries like strawberries into small, even pieces. If using frozen berries, do not thaw—they can be used directly from frozen. Measure exactly 2 cups after chopping.
Mix starch slurry
In a small bowl, combine 1 tablespoon cornstarch with 2 tablespoons cold water. Stir until smooth and no lumps remain. Set aside. This slurry prevents clumping when added to hot jam.
Cook
Simmer fruit mixture
Place berries, sugar, water, lemon juice, and lemon zest (if using) in a medium saucepan. Bring to a boil over medium-high heat, stirring frequently. Once boiling, reduce heat to medium and cook for 5 minutes, mashing berries gently with a spoon to release juices.
Thicken jam
Stir the cornstarch slurry again, then pour it into the bubbling fruit. Cook for 3–5 minutes, stirring constantly, until the mixture thickens and becomes glossy. It should coat the back of a spoon and hold a line when you run your finger through it.
Finish cooking
Remove from heat. Stir in vanilla extract, if using. The jam will continue to thicken as it cools. Do not overcook—excess heat can break down pectin and make the jam runny.
Finish
Cool completely
Transfer jam to a heatproof bowl. Let cool at room temperature for 20–30 minutes, then refrigerate uncovered for at least 1 hour. Fully cooled jam is thick enough to use as a pastry filling without leaking.
Check doneness
The jam is ready when it gels slightly and holds its shape. It should not be runny when scooped. If too thin, return to low heat and cook 1–2 minutes longer. Add more slurry (½ tsp cornstarch + 1 tsp water) if needed.
Storage
Refrigerate
Store jam in an airtight container in the refrigerator for up to 3 weeks. Always use clean utensils to prevent mold.
Freeze
Portion cooled jam into ice cube trays or small freezer bags. Freeze for up to 6 months. Thaw overnight in the fridge before using.
Substitutions
Fruit swaps
Use peaches, apricots, cherries, or plums instead of berries. Peel peaches and apricots first. Pit and halve cherries. Use 2 cups chopped fruit. Softer fruits may need an extra ½ teaspoon cornstarch.
Sweetener changes
Replace sugar with an equal amount of honey or maple syrup. Reduce water to 1 tablespoon, as liquid sweeteners add moisture. The jam will be darker and slightly less firm.
Starch options
Use tapioca starch instead of cornstarch at a 2:3 ratio—2 tsp tapioca for every 1 tbsp cornstarch. Arrowroot starch works at a 1:1 ratio but may thin when cooled. Do not use flour—it gives a cloudy texture and weak gel.
Acid adjustments
Lemon juice adds brightness and helps preserve color. Substitute with lime juice or ¼ tsp citric acid. If omitting acid, the jam may darken and lose some shelf life.
Doneness cues
Visual signs
Jam bubbles slowly and thickly, not rapidly like water. It coats a spoon and holds a clear path when you swipe your finger across the back. The surface looks glossy, not watery.
Time and temperature
Cook for 8–10 minutes total after adding starch. Internal temperature reaches about 200–205°F (93–96°C), but a thermometer is not required. The visual test is more reliable.
Cool test
Place a small spoonful on a chilled plate. Freeze for 1 minute. Push the edge with your finger—it should wrinkle slightly, not run. If too soft, cook 1–2 minutes more and retest.
Using jam in baking
Filling pastries
Use 1–2 teaspoons per thumbprint cookie or mini tart. For turnovers or hand pies, use 1 tablespoon, leaving a ½-inch border to seal. Overfilling causes leaks.
Layering cakes
Spread a thin layer (⅛ inch) between cake layers. Use a crumb coat first if the cake is soft. Refrigerate the filled cake 15 minutes before frosting to set the jam.
Swirl into batters
Fold swirls of jam into muffin or cake batters. Use spoonfuls and gently swirl with a knife. Do not overmix, or the color will bleed.
Common issues
Runny jam
Causes: undercooked, too much liquid, or insufficient thickener. Fix by simmering 1–2 minutes more with additional slurry. If already cooled, reheat gently and add ½ tsp cornstarch mixed with 1 tsp water.
Too thick
If jam overcooks or cools too much, stir in 1 tsp water or lemon juice and warm gently. Do not thin before cooling—jam thickens significantly as it sets.
Crystallized sugar
Occurs if sugar isn’t fully dissolved before boiling. Stir constantly in the first few minutes. If crystals form, add 1 tsp water and stir until dissolved.
Dark color
Overcooking or lack of acid causes browning. Add lemon juice at the start and avoid prolonged boiling. Use stainless steel or non-reactive pans—aluminum darkens fruit.
Large batches and kids
Scaling up
For 4 cups fruit, double all ingredients except starch—use 2 tbsp cornstarch. Cook in batches; overcrowding slows thickening. Use a wide, heavy-bottomed pot for even evaporation.
Child-safe prep
Let kids measure sugar, stir cooled jam, or spoon into jars. Supervise all stove use. Use oven mitts and keep pot handles turned inward. Let hot jam cool fully before handling.
Freezing and thawing
Portioning
Freeze in ¼-cup portions for easy use in recipes. Label with date and fruit type. Squeeze out air from freezer bags to prevent ice crystals.
Thawing
Thaw in the refrigerator overnight. Do not thaw at room temperature—risk of mold. Gently warm in a saucepan if needed for spreading, but do not boil.
Using store-bought jam
Thickening for baking
Store-bought jam often contains extra water. Simmer ½ cup jam with ½ tsp cornstarch slurry (¼ tsp cornstarch + ½ tsp water) for 2–3 minutes until thickened. Cool before using in pastries.
Flavor adjustments
Add ½ tsp lemon juice or vanilla to enhance flavor. Avoid jams with high fructose corn syrup if texture is important—they may not hold up as well when baked.