Both mean “return.” What decides it is where you are when you say it: 回来 is coming back here, to you; 回去 is going back there, somewhere you aren’t.
An HSK 1 pair: both words already appear in that level’s vocabulary.
When do you use 回来?
Coming back here, to wherever you are as you speak. If you’re at home, anyone getting home 回来 — that’s why you call out 我回来了 (“I’m home”) as you walk in.
- 妈,我回来了。 Mom, I'm back.
- 你什么时候回来? When are you coming back?
When do you use 回去?
Going back there, to a place you’re not at right now — home, your country, the office. It’s what you say on your way out the door: 我回去了, “I’m heading home.”
- 我想回去了。 I want to go back now.
- 天黑了,快回去吧。 It's dark now. You'd better head back.
The same sentence with each one
- 你明天回来吗? Are you coming back tomorrow? (asked by someone at the place you’re returning to)
- 你明天回去吗? Are you going back tomorrow? (asked by someone who’s with you, away from that place)
Same question; what changes is where the person asking is standing. Your mom, at home, says 回来. A friend you’re visiting in another city says 回去.
When do both work?
When you’re talking to someone who’s at the place you’ll be returning to — on the phone with your parents, who are at home — you’ll hear both: 回去 from where you stand, 回来 from where they are. If in doubt, 回家 works either way.
Why do English speakers mix them up?
English has “come back” and “go back” too, but everyday English often hides the direction: “I’ll be right back,” “I’m heading back,” “I need to get back.” Chinese makes you pick one. Stepping out of a meeting, “I’ll be right back” means back here, so it’s 我马上回来. Leaving a friend’s place, “I need to get back” means back there, so it’s 我要回去了.