How to say “For here” and “To go” in Japanese

A coffee at Doutor’s Sotokanda 1-chome branch in Akihabara is a good setting for a small but useful piece of Japanese. At the counter, saying the drink’s name isn’t always the end of the order. Before taking payment, the barista may ask whether you’re staying or taking it with you. Even if you miss most of the question, two words tell you what’s happening: 店内 and 持ち帰り.
The question that comes after the order
店内 (tennai) means inside the shop, and 持ち帰り (mochikaeri) means taking your order away. You might hear こちらで, or “here,” in place of 店内で. 召し上がる is a respectful verb for eating or drinking, so you can hear it even when you’ve ordered nothing but coffee. It’s the barista’s way of talking about what you’ll do; you don’t need to repeat it in your reply.
If you’re staying: 店内でお願いします
The particle で marks the place, and お願いします makes the choice a polite request. Together they work like “For here, please.” You don’t have to repeat whether you ordered coffee or cake. The cover phrase, ここで飲みます, is closer to “I’ll drink it here.” It’s natural when you’ve just ordered a drink. こちらでお願いします can work as an answer too, but without a clear lead-in it can also mean “This one, please.” 店内でお願いします is the choice you can rely on either way.
If you’re leaving: 持ち帰りでお願いします
The barista may put a polite お in front of 持ち帰り. In your reply, 持ち帰りでお願いします is enough. You can also use テイクアウト, the borrowed word “takeout.” If you’re not sure the café will pack a particular item, turn the expression into a question with できますか instead of saying お願いします.

What it sounds like at the counter
You can state your preference with your order or wait until the barista asks. A simple はい answers “Is that for here?” but doesn’t tell anyone which option you mean if the question was “For here or to go?” In that case, start with 店内で or 持ち帰りで.
When the coffee and the cake are going different places
Say which item goes with which choice. Putting は after each item makes the contrast clear: the coffee stays, the cake goes in the bag. You only need one お願いします at the end.
Next time you order coffee in Japan, take two phrases with you along with the name of your drink. It’s 店内で when you’re sitting down and 持ち帰りで when you’re heading out with the cup. Either way, finish with お願いします.