How to offer condolences in Japanese: ご愁傷様です and gentler options
Choose a respectful condolence for a formal encounter, a written message or a close friend who shares news of a loss.

In short
In a formal encounter after a death, say このたびはご愁傷様です. In a written condolence, 心よりお悔やみ申し上げます is a respectful option. With a close friend who tells you directly, you can simply acknowledge how hard it has been and offer to listen.
Choose language by your relationship and how you heard the news. A conventional sentence can stand on its own at a formal gathering. In a private conversation, your usual tone with the person can sound warmer.
- In person, formal このたびはご愁傷様です。 このたびはごしゅうしょうさまです。
A conventional condolence to a bereaved person, for example at a wake.
- In writing, formal 心よりお悔やみ申し上げます。 こころよりおくやみもうしあげます。
A short formal statement for a condolence card or message.
- To a close friend 大変だったね。話したくなったら、いつでも聞くよ。 たいへんだったね。はなしたくなったら、いつでもきくよ。
Acknowledge the loss after your friend tells you. The second sentence offers to listen on their terms.
What you will hear back
- ありがとうございます。Thank you.
Easy to get wrong
元気を出して。This asks them to cheer up. A short acknowledgment lets them respond in their own way.
Write a short message that is easy to receive
このたびは心よりお悔やみ申し上げます。ご返信はどうぞお気になさらないでください。
Please accept my sincere condolences. Please don't feel you need to reply.
Use this in a private message when you want to take away the pressure of answering.
ご愁傷様 can also appear outside bereavement in a wry or sarcastic sense. In a condolence, the full phrase and calm delivery help make your intention clear. Pause after saying it. The other person can decide whether to continue the conversation.
Practise one spoken line and one short written line. Then practise stopping after the condolence so you are comfortable leaving a pause.