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 style | McDonald’s style | Sonic style | |
|---|---|---|---|
| Add-in | Coconut cream and fresh lime | Vanilla syrup and cold foam | Coconut syrup and lime wedges |
| Taste | Tropical, tart, refreshing | Sweeter, like a dessert drink | Light and citrus-forward |
| Texture | Creamy ribbons through the soda | Foam on top, soda below | Clear, no cream |
| Effort | 3 minutes | 3 minutes, plus frothing | 2 minutes |

How to make a dirty Dr Pepper at home
Soda-shop version (coconut cream and lime)
- Chill a tall glass and fill it to the top with ice.
- Pour 12 oz Dr Pepper slowly down the side of the glass, not straight down the center.
- Squeeze in half a fresh lime.
- Spoon 2 tablespoons of full-fat coconut cream over the back of a cold spoon, then stir once, gently.

McDonald’s style (vanilla syrup and cold foam)
- Fill a tall glass with ice and pour in 12 oz Dr Pepper. Stir in 1 teaspoon of vanilla syrup.
- Put 2 tablespoons of cold heavy cream in a small lidded jar or a frother cup.
- Froth for 15 seconds with a handheld frother, or shake the lidded jar hard for 30 seconds.
- Spoon the foam on top. Do not stir; drink through the foam.

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
| Drink | Calories | Total sugars |
|---|---|---|
| McDonald’s small | 250 | 47 g |
| McDonald’s medium | 330 | 64 g |
| McDonald’s large | 430 | 86 g |
| Our coconut cream version (estimate, 12 oz) | about 215 | see 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.

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.

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
- Coconut Lime Dirty Soda — the lime-forward version with full coconut cream
- Strawberry Creamsicle Dirty Soda — cream soda and strawberry syrup with a whipped marshmallow cold foam
- Raspberry Vanilla Dirty Soda — lemon-lime soda with raspberry and vanilla syrup
- McDonald’s Orange Dream Dirty Soda — the orange-vanilla copycat
- McDonald’s Sprite Berry Blast — the berry Sprite copycat
Browse the full dirty soda recipes collection or the homemade sodas hub.
Dirty Dr Pepper Recipe – McDonald’s Copycat
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
Nutrition
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.



Seems delicious, I will test it soon
I was skeptical about coconut cream in Dr Pepper but it genuinely works. Way better than I thought it would be.
thank you it genuinely works. Way better than I thought it would be.
Tested all 4 versions myself after reading this. The heavy cream ratio is the one, just like the soda shop. My wife is obsessed with this now.
Finally a homemade version that doesn’t taste like it’s missing something. The vanilla component is the key.
I am really thankful to the holder of this web site who has shared this fantastic article at
here.
Appreciate the recommendation.
My husband asked me to stop making this because he can’t stop drinking it. That’s the best review I can give.
Tried the classic and the cold foam version side by side. The cold foam one wins easily — the texture is completely different.
Got the ratio right on the second attempt once I chilled the cream separately first. Really satisfying to nail the layers.
The coconut cream version is the one that converted me. Made the McDonald’s copycat first but kept coming back to this version.
Tried this twice and it’s close but not quite what I get at the drive-through. The cold foam kept sinking on me — maybe I’m not mixing it right. Still a solid homemade version, just takes a couple tries to get the layers to hold.