Best Mocktail Recipes

Homemade Sodas

Dirty Dr Pepper Recipe – McDonald’s Copycat (3 Easy Ways)

8 Mins read
Dirty Dr Pepper recipe in a tall Collins glass, lime wedge on the rim, thick coconut cream or cold foam layer floating clearly on top of the dark Dr Pepper soda, extra lime slice and twist on the white marble next to the base of the glass, no rim treatment, strong condensation on the glass, white marble surface with a neatly folded white napkin partly visible under the base, close bright white backdrop tight behind the glass, a dark-red soda can with the text “Dr Pepper” faintly visible in the mid-background, slightly more in focus than the far background but still softer than the glass so the drink remains the main subject, subtle blurred red-and-yellow shapes and counter lines further behind to suggest a generic fast-food or burger chain interior without any additional logos or readable branding, camera at a slightly high 45-degree angle leaning toward overhead to clearly show the separation between the dark soda and the creamy top layer, tight framing with the glass filling about 80% of the frame and positioned slightly off-center, top of the drink and swirl or foam sharply in focus, bright soft side window light from the left, no flash, luminous dark cola liquid with creamy swirl catching the light, bright white background contrasts the dark drink and creamy top making it the dominant visual, minimal props with only lime, subtle cola bubbles, and the gently blurred soda can in the background, vibrant deep cola-brown drink color with bright lime green and clean white cream accents, bright clean slightly warm edit, no oversaturation, food photography, appetizing, thumbnail-ready

A dirty Dr Pepper is Dr Pepper dressed up with something creamy. There are two versions people mean: the McDonald’s style, with vanilla syrup and a cap of cold foam, and the soda-shop style, with coconut cream and fresh lime. “Dirty” has nothing to do with alcohol. Both take about three minutes.

Updated October 26, 2026. Jump to: quick recipe · how to make it · McDonald’s version · variations · storage and make ahead · recipe card · FAQ

Quick look at the recipe

  • Soda-shop style: 12 oz cold Dr Pepper, 2 tablespoons full-fat coconut cream, half a fresh lime, ice. About 3 minutes.
  • McDonald’s style: 12 oz cold Dr Pepper, 1 teaspoon vanilla syrup, 2 tablespoons cold heavy cream frothed into foam, ice. About 3 minutes.
  • Calories: about 215 per glass for the coconut cream version (estimate). McDonald’s lists 250, 330 and 430 for its small, medium and large.
Soda-shop styleMcDonald’s styleSonic style
Add-inCoconut cream and fresh limeVanilla syrup and cold foamCoconut syrup and lime wedges
TasteTropical, tart, refreshingSweeter, like a dessert drinkLight and citrus-forward
TextureCreamy ribbons through the sodaFoam on top, soda belowClear, no cream
Effort3 minutes3 minutes, plus frothing2 minutes
Dirty Dr Pepper mocktail in a tall glass with creamy top and lime, Dr Pepper can and blurred fast-food background on white marble
Left: classic soda shop version with coconut cream and lime. Right: McDonald’s copycat with vanilla cold foam.

How to make a dirty Dr Pepper at home

Soda-shop version (coconut cream and lime)

  1. Chill a tall glass and fill it to the top with ice.
  2. Pour 12 oz Dr Pepper slowly down the side of the glass, not straight down the center.
  3. Squeeze in half a fresh lime.
  4. Spoon 2 tablespoons of full-fat coconut cream over the back of a cold spoon, then stir once, gently.
Tall glass of Dr Pepper over ice with a thick layer of coconut cream on top and half a lime beside it
Coconut cream goes on last, over the back of a cold spoon.

McDonald’s style (vanilla syrup and cold foam)

  1. Fill a tall glass with ice and pour in 12 oz Dr Pepper. Stir in 1 teaspoon of vanilla syrup.
  2. Put 2 tablespoons of cold heavy cream in a small lidded jar or a frother cup.
  3. Froth for 15 seconds with a handheld frother, or shake the lidded jar hard for 30 seconds.
  4. Spoon the foam on top. Do not stir; drink through the foam.
Small glass jar of thick white cold cream foam with its lid beside it and a glass of Dr Pepper in the background
Cold cream foam in a jar. Shaken for 30 seconds, it works without a frother.

The full steps and nutrition are on the recipe card below.

McDonald’s Dirty Dr Pepper: what is in the original

According to the McDonald’s announcement of April 28, 2026, six new specialty drinks went on sale starting May 6, including the Dirty Dr Pepper, Sprite Berry Blast and Orange Dream. McDonald’s describes the Dirty Dr Pepper as classic Dr Pepper with a vanilla flavor and a cloud of cold foam. Prices vary by restaurant; a small has been around $3.29, a medium around $3.79 and a large around $4.29.

Nutrition at a glance

DrinkCaloriesTotal sugars
McDonald’s small25047 g
McDonald’s medium33064 g
McDonald’s large43086 g
Our coconut cream version (estimate, 12 oz)about 215see recipe card

The McDonald’s figures come from the McDonald’s product pages, which also list the cold foam with canola oil, cane sugar, corn syrup and a milk derivative. A home foam made from cold heavy cream is close in spirit, not the same formula. It is sweeter and creamier than the soda-shop version, and the foam acts more like a latte topping than a blended creamer: a brief creamy hit before the soda underneath.

Why this dirty Dr Pepper recipe works

Dr Pepper has 23 flavors built in, including cherry, vanilla, caramel and licorice, so it pairs with almost any creamy or sweet add-in. The fat in coconut cream coats the carbonation slightly, which softens the fizz without killing it. Adding the cream too fast, or into a warm glass, collapses the bubbles right away, so a tilted, ice-cold glass with the cream added last is worth the extra ten seconds.

Ingredient notes and swaps

  • Dr Pepper: regular, Diet or Zero Sugar all work. It is the one non-negotiable; the 23-flavor profile is what makes the drink.
  • Coconut cream: full-fat, from a can, not coconut milk. Use the thick cream at the top of a refrigerated can. Half-and-half is a lighter swap with a less tropical result.
  • Lime: fresh only. Bottled lime juice leaves an off note when mixed cold with cream.
  • Vanilla syrup: Torani or DaVinci. One bottle, around $10 to $12 at Target, Walmart or Torani’s website, covers 30+ drinks.
  • Cream for foam: straight from the refrigerator. Room-temperature cream will not foam.
Dirty Dr Pepper mocktail in a tall glass with lime, coconut cream swirl, Dr Pepper can, vanilla syrup and cold foam on marble
Everything you need for both versions — classic and McDonald’s copycat

What I learned making both versions

McDonald’s put the Dirty Dr Pepper on its menu on May 6, 2026. My sister, who had been driving 20 minutes to Swig twice a week for the classic coconut cream version, sent me a photo of the McDonald’s one the day it launched with a single message: “Is this the same thing?” It is not. I made both back to back for two weeks, with her as the judge.

My first mistake with the McDonald’s style was a full tablespoon of vanilla syrup per glass. It tasted like vanilla extract dissolved in soda. One teaspoon per 12 oz is right.

With the classic version, I first poured the coconut cream from a warm spoon into a room-temperature glass, and the fizz was gone within two minutes. An ice-cold glass, a slow pour over the back of a cold spoon and the cream added last fixed it.

Before stirring, the cold foam version smells faintly of vanilla whipped cream. Once it mixes with the Dr Pepper, the smell turns warmer and more caramel-like. That is the moment it starts to taste like the McDonald’s version. If you do not get that shift, you need more vanilla syrup or colder foam.

Dirty Dr Pepper variations

  • Diet or Zero Sugar: swap in Diet Dr Pepper or Dr Pepper Zero Sugar. The cream or foam makes up for the thinner mouthfeel, and the technique does not change.
  • Sonic style: coconut syrup instead of cream, plus fresh lime. Use 1 tablespoon of Monin coconut syrup per glass and squeeze in two lime wedges. No creamer, no foam: cleaner and more citrus-forward.
  • Swig style: half-and-half instead of coconut cream, sometimes with a small pour of raspberry syrup for a pink finish. Add 1 teaspoon of Torani raspberry syrup for the pink version.
  • Cherry: add 1 teaspoon of Torani cherry syrup to the classic version. It amplifies the cherry notes in Dr Pepper, tints the cream pink and pushes the drink toward a cherry cream soda.
  • Lower sugar: use Diet Dr Pepper, sugar-free vanilla syrup for the McDonald’s style, and full-fat coconut cream, which has much less sugar than flavored syrups. This cuts the sugar roughly in half compared with the full classic version.
  • Float: build the classic version, then top it with a scoop of vanilla ice cream. Add the ice cream last and serve with a long spoon.
Tall glass of Dr Pepper with a scoop of vanilla ice cream floating on top and a long spoon beside it
A dirty Dr Pepper float: ice cream goes on last.

For a version built around coconut flavor, see our coconut Dr Pepper recipe, which compares coconut syrup, cream and creamer to find the closest match to the Dr Pepper Creamy Coconut limited-edition flavor.

Storage and make ahead

A finished dirty Dr Pepper is a drink to make on the spot, because the fizz fades quickly once the cream is in. What you can prepare ahead:

  • Syrup and lime: mix coconut syrup and lime juice at 3 parts syrup to 1 part lime and keep it covered in the refrigerator. Use 1.5 tablespoons per glass.
  • Coconut cream: keep the can in the refrigerator so the thick cream is ready to spoon. Cover any leftover cream and keep it cold.
  • Cream for foam: keep it in the coldest part of the refrigerator and froth only when you are ready to serve.
  • For a party: set out ice, chilled soda, the syrup mix and the cream, and let each guest build their own glass.

Why doesn’t my dirty Dr Pepper taste right?

  • It goes flat right away: the cream went in too fast or the glass was warm. Chill the glass in the freezer for 5 minutes, then pour the Dr Pepper first and add the cream slowly over the back of a cold spoon.
  • The cold foam will not hold: the cream is not cold enough. Use cream straight from the refrigerator and froth for at least 30 seconds. Cold heavy cream is what holds a foam.
  • It is too sweet: use half the syrup or creamer and add a squeeze of fresh lime. A small pinch of salt does the same job for the McDonald’s style when you want to keep the foam-only format.
  • It looks curdled or split: lime and dairy can separate. Add the lime first, the cream last, and stir once. Low-fat or non-dairy creamers with guar gum or carrageenan can react with carbonation, so use full-fat heavy cream, half-and-half or full-fat coconut cream.

More dirty soda recipes

Browse the full dirty soda recipes collection or the homemade sodas hub.

Dirty Dr Pepper recipe in a tall Collins glass, lime wedge on the rim, thick coconut cream or cold foam layer floating clearly on top of the dark Dr Pepper soda, extra lime slice and twist on the white marble next to the base of the glass, no rim treatment, strong condensation on the glass, white marble surface with a neatly folded white napkin partly visible under the base, close bright white backdrop tight behind the glass, a dark-red soda can with the text “Dr Pepper” faintly visible in the mid-background, slightly more in focus than the far background but still softer than the glass so the drink remains the main subject, subtle blurred red-and-yellow shapes and counter lines further behind to suggest a generic fast-food or burger chain interior without any additional logos or readable branding, camera at a slightly high 45-degree angle leaning toward overhead to clearly show the separation between the dark soda and the creamy top layer, tight framing with the glass filling about 80% of the frame and positioned slightly off-center, top of the drink and swirl or foam sharply in focus, bright soft side window light from the left, no flash, luminous dark cola liquid with creamy swirl catching the light, bright white background contrasts the dark drink and creamy top making it the dominant visual, minimal props with only lime, subtle cola bubbles, and the gently blurred soda can in the background, vibrant deep cola-brown drink color with bright lime green and clean white cream accents, bright clean slightly warm edit, no oversaturation, food photography, appetizing, thumbnail-ready
Print Pin
4.46 from 11 votes

Dirty Dr Pepper Recipe – McDonald’s Copycat

This dirty Dr Pepper recipe makes the original soda shop version — Dr Pepper with coconut cream and fresh lime — in under 5 minutes. The McDonald’s copycat with vanilla syrup and cold foam is included in the notes. No blender, no cooking, just a cold glass and a slow pour.
Course Drinks
Cuisine American
Keyword dirty dr pepper, dirty dr pepper copycat, dirty dr pepper recipe, dirty soda recipe, dr pepper dirty soda, mcdonald’s dirty dr pepper copycat
Prep Time 5 minutes
Total Time 5 minutes
Servings 1 glass
Calories 215kcal
Author Zoe Tanaka
Cost $3

Equipment

  • 1 Tall glass (16-20 oz) pre-chilled
  • 1 Handheld milk frother optional — for McDonald’s copycat version only

Ingredients

Classic Soda Shop Version

  • 12 oz Dr Pepper cold; diet or zero sugar works identically
  • 2 tbsp full-fat coconut cream thick layer from top of refrigerated can — not coconut milk
  • 1/2 fresh lime juiced; bottled lime has an off note when mixed cold with cream
  • ice as needed — more ice slows carbonation loss

McDonald’s Copycat Version (see notes)

  • 12 oz Dr Pepper cold
  • 1 tsp vanilla syrup Torani or DaVinci vanilla — do not exceed 1 tsp or it overpowers the Dr Pepper
  • 2 tbsp cold heavy cream straight from fridge — room-temperature cream won’t foam
  • ice as needed

Instructions

Prepare the Glass

  • Place your serving glass in the freezer for 5 minutes before building the drink, or fill it with ice and let it sit for 30 seconds before dumping. A cold glass is the single most important step — it slows carbonation loss when the coconut cream hits the soda.
  • Fill the chilled glass nearly to the top with ice. The more ice, the colder the drink stays and the longer the carbonation holds. Do not use crushed ice — it melts faster and dilutes the drink.
  • Squeeze half a fresh lime directly over the ice. Use fresh lime only — bottled lime juice has a metallic off-note when mixed cold with cream that becomes obvious after a few sips.

Build the Drink

  • Tilt the glass and pour the cold Dr Pepper slowly down the inner wall, leaving about 1 inch of space at the top. Pouring against the wall rather than straight down reduces foam and preserves more carbonation.
  • Hold a cold spoon just above the surface of the Dr Pepper with the back facing up. Spoon the coconut cream over the back of the spoon so it flows onto the drink slowly — this is the most important pour in the recipe. Adding it too fast or from too high collapses the carbonation instantly. You should see the cream sitting on top before it slowly folds in.
  • Do not stir. The cream folds in naturally as you drink and the flavor shifts from creamy-tropical at the top to more Dr Pepper-forward at the bottom. Serve immediately — this drink does not hold well. Carbonation is most alive in the first 5 minutes.

McDonald’s Copycat (Variation)

  • Combine 2 tablespoons of cold heavy cream in a small lidded jar or use a handheld milk frother. Shake hard for 30 seconds or froth for 15 to 20 seconds until the foam holds its shape. Room-temperature cream goes liquid immediately — cream must be straight from the fridge. If your foam collapses in under 60 seconds, your cream was too warm.
  • Fill a chilled glass with ice. Add 1 teaspoon of vanilla syrup — no more, or it overwrites the Dr Pepper flavor. Pour cold Dr Pepper to within 1 inch of the top. Spoon the cold foam over the surface. Do not stir before drinking — the two-texture experience (foam on top, soda below) is the point of the McDonald’s version.

Notes

McDonald’s version uses vanilla syrup and cold foam — NOT coconut cream or lime. Keep vanilla syrup to 1 tsp per 12 oz or it becomes vanilla soda rather than dirty Dr Pepper.
Sonic version: use 1 tbsp Monin Coconut Syrup (not coconut cream) + 2 lime wedges squeezed in. Lighter and more citrus-forward.
Swig version: replace coconut cream with 2 tbsp half-and-half + 1 tsp Torani raspberry syrup for a pink tinted finish.
If your drink goes flat: glass was not cold enough, or cream was poured too fast. Pre-chill the glass and slow your pour — both matter more than the ingredients.

Nutrition

Serving: 400ml | Calories: 215kcal | Carbohydrates: 38g | Fat: 8g | Saturated Fat: 7g | Sodium: 65mg | Potassium: 85mg | Sugar: 36g | Vitamin C: 8mg | Calcium: 2mg

Frequently asked questions

What is a dirty Dr Pepper?

A dirty Dr Pepper is Dr Pepper with a creamy or flavored add-in, such as coconut cream, half-and-half, vanilla syrup or cold foam, usually with a squeeze of lime. “Dirty” means the plain soda has been dressed up, the same way a dirty chai is a chai with something extra. It contains no alcohol.

What is in McDonald’s Dirty Dr Pepper?

McDonald’s describes it as classic Dr Pepper with a touch of vanilla flavor, topped with chilled cold foam. There is no lime and no coconut cream. McDonald’s lists the cold foam with canola oil, cane sugar, corn syrup and a milk derivative, so the home version made with cold heavy cream is a close copycat, not the same formula.

How many calories are in McDonald’s Dirty Dr Pepper?

McDonald’s lists 250 calories for a small, 330 for a medium and 430 for a large. The coconut cream version on our recipe card is about 215 calories per glass, which is an estimate.

What does a dirty Dr Pepper taste like?

Sweet, creamy and slightly tropical, with a hint of citrus. Dr Pepper’s 23-flavor base comes through underneath, and the cream softens the carbonation and gives it a smooth, milky finish.

Does dirty Dr Pepper have alcohol?

No. It is made with soda, flavored syrup, lime juice and cream, and it is suitable for all ages.

What is a dirty Dr Pepper at Sonic?

Sonic’s version uses Dr Pepper with coconut syrup and fresh lime, served over ice with a lime wedge. It has no cold foam and no vanilla flavoring, so it is lighter and more citrus-forward than the McDonald’s version.

Why does my dirty Dr Pepper look curdled or split?

Citrus and dairy do not mix well, so lime juice can make half-and-half or cream separate. Coconut cream splits less than dairy. Add the lime first, add the cream last and stir once, gently. Low-fat or non-dairy creamers with guar gum or carrageenan can also react with carbonation, so switch to full-fat cream or coconut cream.

Can I make it without special equipment?

Yes. For the cold foam, put the cold heavy cream in a small lidded jar and shake it hard for 30 seconds. For the classic version you only need a glass and a spoon.

How do I make a dirty Dr Pepper float?

Fill a tall glass with ice and Dr Pepper, add 2 tablespoons of coconut cream or a splash of half-and-half, then top with a scoop of vanilla ice cream. Add the ice cream last and serve right away with a long spoon.

What cream works best?

Half-and-half gives a good balance: creamy enough to bloom visually, light enough not to overwhelm the soda. Coconut cream from a can makes a richer, thicker layer and a more tropical flavor. Heavy cream works but can taste very rich.

How do I make a sugar-free dirty Dr Pepper?

Use Diet Dr Pepper or Dr Pepper Zero Sugar and a sugar-free syrup, such as a zero-calorie coconut syrup. Add half-and-half on top. This combination keeps the drink under about 20 calories.

Can I make a big batch for a party?

Yes. Mix coconut syrup and lime juice in a small pitcher at 3 parts syrup to 1 part lime and keep it in the refrigerator. Add 1.5 tablespoons of the mixture per glass before pouring the soda. Keep the cream separate and add it to each glass at serving time, because pre-mixed cream goes flat.

Can I make a dirty Dr Pepper ahead of time?

Not the finished drink. Once the soda and cream are combined, the fizz fades fast. Prepare the parts instead: keep the syrup and lime mixed, the cream cold, and build each glass when someone is ready to drink it.

Where did dirty soda come from, and who sells it?

Dirty soda started in Utah, where soda shops like Swig (founded in 2010) and Sodalicious popularized customized sodas. The trend went national through TikTok around 2021 and 2022. Sonic and other chains offer their versions, and McDonald’s added an official Dirty Dr Pepper on May 6, 2026. Menus change by location, so check the McDonald’s app or your local restaurant before you go.

Sources

Photo of Zoe Tanaka
104 posts

About author
Zoe Tanaka is the founder and lead author of Mocktails Daily. She specializes in non-alcoholic drinks, dirty sodas and homemade mocktail recipes. Her goal is simple: make alcohol-free drinks that are actually worth drinking.
Articles
You may also like
Homemade Sodas

Dunkin Dirty Soda at Home With Coffee Milk, Cola and Sweet Cold Foam

8 Mins read
Homemade Sodas

Dirty Soda Syrups at Home: Coconut, Vanilla and Raspberry From One Pot

7 Mins read
Homemade Sodas

Roy Rogers Mocktail Recipe With a Simmered Pomegranate Grenadine

8 Mins read

12 Comments

  • Photo of Connor J.
  • Photo of Marcus J.
  • Photo of Trevor J.
  • Photo of Sarah M.
  • Photo of Melissa R.
  • Photo of Courtney M.
  • Photo of Megan R.
  • Photo of Dee
4.46 from 11 votes

Leave a Reply

Your email address will not be published. Required fields are marked *

Recipe Rating