How to Run a Mock Interview With a Friend
How to run a mock interview with a friend that actually works: pick a partner who pushes you, swap interviewer roles, time each round, and review the playback.
How to run a mock interview with a friend that actually works: pick a partner who pushes you, swap interviewer roles, time each round, and review the playback.
What a pair programming interview is, what interviewers are really grading, and how to practice for one with a friend on a shared coding pad so collaboration feels natural on the day.
ViewHow to run mock coding interviews that actually help: setting up a realistic session, a repeatable structure to follow every time, what to practice beyond the code, and how to get feedback you can act on.
ViewHow Codex Interview's real-time collaboration works: the desktop app, the shared coding pad, and why room-scoped screen sharing and session playback exist.
ViewPracticing with a friend is the most underrated way to prepare for a coding interview. It's free, you can do it as often as you like, and a friend who already knows your weak spots can aim straight at them. The catch is that most people run a mock interview with a friend badly — they pick a softball problem, skip the timer, rescue each other at the first pause, and end with a vague "yeah, that was solid." That's not practice; that's hanging out with an editor open.
Done right, a mock interview with a friend beats almost every paid option, because the person across from you reacts to your reasoning in real time and pushes exactly where you need it. This is a step-by-step playbook for running one that actually moves the needle.
A good mock reproduces the one thing solo practice can't: another person watching, asking questions, and judging how you think. A friend supplies that for free, on your schedule, as many times as you want — no stranger-matching, no booking, no cost.
The failure mode is comfort. Friends don't want to make you squirm, so they lob easy problems, jump in with hints the moment you go quiet, and soften their feedback. But the discomfort is the training. Before you start, agree out loud on one rule: for the next 45 minutes you're not friends, you're an interviewer and a candidate — and going easy helps no one.
Not every friend makes a good practice partner. Look for:
A mentor or a more senior engineer is ideal if you can get the time. But a peer grinding the same prep is often the most sustainable choice, because you can trade sessions for weeks without it feeling like a favor.
The best feature of practicing with a friend is reciprocity: you interview each other. Don't skip your turn on the other side of the table.
Playing interviewer teaches you what the role actually feels like — how obvious it is when a candidate goes silent, how much a clear plan up front reassures you, how a messy variable name makes you lose the thread. Once you've felt that from the interviewer's seat, you instinctively do the opposite as a candidate. An hour of interviewing your friend can lift your own performance as much as an hour of being interviewed.
The environment matters more than people expect. You want it to look like the real interview so none of your focus leaks into fighting the tools.
This is exactly what Codex Interview is built for: you open a live coding pad, send a link your friend opens in any browser, and every keystroke syncs instantly while you run JavaScript, Python, Java, C++, or Go right in the pad. It runs beside Zoom, Meet, or Teams, so a remote practice session looks just like a remote interview, and session playback lets you replay the whole room — code and chat — after it ends. If you want the mechanics, here's how Codex Interview works.
Here's a repeatable shape that fits two full rounds and two debriefs into an hour:
Hold the timer honestly; the pressure of a hard stop is part of what you're training for. For the detailed anatomy of a single round — clarify, plan, code, test, debrief — follow the structure in our guide to the mock coding interview. This playbook just runs that loop in both directions.
When it's your turn, your job is to be useful, not nice:
If your friend is preparing for a collaborative format specifically, run it as pair programming interview practice — build something together in stages instead of watching them solo a puzzle.
If nobody in your circle can play interviewer, you still have options:
Any of these works; the friend route just tends to be the most flexible and repeatable once you've found the right partner.
The friend-specific traps, and how to dodge them:
A mock interview with a friend costs nothing and, run properly, out-trains most paid alternatives. Agree to drop the niceness for the length of the session, hold the timer, take turns, and hand each other three concrete things to fix. Do that five or six times and the real interview stops feeling like a performance.
Line up a partner, open your coding interview assistant, send the invite link, and run your first two-way session today.