Sitemap
JavaScript in Plain English

New JavaScript and Web Development content every day. Follow to join our 3.5M+ monthly readers.

How WhatsApp Knows You’re Typing (Before You Even Send a Message)

4 min readDec 24, 2025

--

Free Member Link

Have you ever noticed how WhatsApp shows “typing…” the instant someone starts writing — even before a single message is sent?

There’s no delay. No refresh. No send button involved.

Yet somehow, the other person’s screen updates in real time, often within milliseconds.

This tiny feature feels simple, but behind it lies a carefully designed real-time presence system optimized for speed, scale, and privacy.

Let’s break down how WhatsApp typing indicators actually work, step by step.

Why “Typing…” Is Harder Than It Looks

At first glance, you might think:

“Just tell the other user that I’m typing.”

But at WhatsApp scale (billions of users), this becomes tricky:

  • It must feel instant
  • It must work on slow networks
  • It must not leak message content
  • It must stop showing when the user pauses
  • It must scale to group chats

Sending full messages or API requests for every keystroke would be slow, expensive, and unnecessary.

So WhatsApp uses a presence-based signaling model.

The Core Idea: Presence Signals, Not Messages

--

--

Priyen Mehta | Sr Software Engineer
Priyen Mehta | Sr Software Engineer

Written by Priyen Mehta | Sr Software Engineer

Experienced Senior Software Engineer with 5+ years of hands-on expertise in building scalable, responsive web applications and robust backend systems.

JavaScript in Plain English
JavaScript in Plain English

Published in JavaScript in Plain English

New JavaScript and Web Development content every day. Follow to join our 3.5M+ monthly readers.