Passive Voice Considered Harmful

Your high school English teachers probably warned you that passive voice is dangerous and forbidden. Outside of school, people probably tell you that passive voice is fine, and your high school teachers were just being pedantic.

I think your high school English teachers were right and that developers should almost always avoid the passive voice.

Wait, what’s passive voice?๐Ÿ”—

In English, sentences can have one of two structures: passive voice or active voice.

Active voice is when you construct a sentence as “actor โ†’ verb โ†’ object.”

Diagram of the sentence ‘Jane tested the new chat feature.’ Jane is the actor, tested is the verb, and the new chat feature is the object.

Passive voice is when you construct a sentence as “object โ†’ verb โ†’ actor.”

Diagram of the sentence ‘The new chat feature was tested by Jane.’ The new chat feature is the object, was tested is the verb, and Jane is the actor.

Passive voice also allows you to construct the sentence as “object โ†’ verb” with no actor at all.

Diagram of the sentence ‘The new chat feature was tested.’ The new chat feature is the object and was tested is the verb.

Recognizing passive voice๐Ÿ”—

You can recognize most instances of passive voice from two signature features:

  1. A form of the verb “to be” (e.g., is, was, will be)
  2. The past participle of a verb (e.g., downloaded, tested)

Here are a few examples:

Diagram of the sentence ‘The developer responsible was identified.’ Was is a form of to be and identified is the past participle.

Diagram of the sentence ‘Their employment has been terminated.’ Has been is a form of to be and terminated is the past participle.

Diagram of the sentence ‘A replacement will be chosen.’ Will be is a form of to be and chosen is the past participle.

Less common forms of passive voice๐Ÿ”—

Most people find it difficult to identify the passive voice, so if that’s you, just focus on the “to be” + past participle rule above. That will identify the vast majority of passive voice in the wild.

Less common forms of passive voice use a form of the verb “to get” or “to have” instead of “to be”:

Diagram of the sentence ‘The site got hacked.’ Got is a form of to get and hacked is the past participle.

Diagram of the sentence ‘I had the site hacked by our security team.’ Had is a form of to have and hacked is the past participle.

One variant of passive voice that’s hard to spot is when the sentence implies a verb without including it explicitly:

Diagram of the sentence ‘The bulletin lists sites hacked by North Korea.’ Hacked is the past participle. An arrow points to the gap between sites and hacked, labeled with the implied phrase that were.

The above is a reduced form of the following sentence, which matches the recognizable form of passive voice:

Diagram of the sentence ‘The bulletin lists sites that were hacked by North Korea.’ Were is a form of to be and hacked is the past participle.

Less commonly, passive voice can appear in a standalone clause:

Diagram of the sentence ‘Shamed by his colleagues, Dave stopped using Fortran.’ Shamed is the past participle and Shamed by his colleagues is a standalone passive clause.

What’s wrong with passive voice?๐Ÿ”—

If you forgot what passive voice is, you definitely forgot why you’re not supposed to use it.

You may have a hazy recollection that passive voice is grammatically incorrect (it’s not). Maybe you recall teachers telling you that passive voice is “poor style,” but that’s vague and hand-wavey.

Regardless of what you remember, there are clear, concrete reasons to avoid the passive voice.

Passive voice omits important information๐Ÿ”—

Passive voice’s greatest sin is that it omits critical information.

When I review design documents, I often find lines like this:

Bad: Use the passive voice to omit key details

For security, the message is signed, and the signature is validated before further processing.

That sentence creates a lot of questions:

  • Who signs the message?
  • Who validates the message?
  • Who performs further processing?

Here’s a rewrite of that sentence using the active voice:

Good: Specify which component performs which action

For security, the client signs the message using the client private key. The client then sends the message to the orchestration server.

When the orchestration server receives the message, it forwards the message to the authentication service. The authentication service then validates the message’s signature.

  • If the authentication service successfully validates the message’s signature, the orchestration server sends the message to the queuing service.
  • If the authentication service rejects the message, the orchestration server drops the message and responds to the client with an HTTP 400 error.
  • If the authentication service fails to respond within 5 seconds, the orchestration server drops the message and responds to the client with an HTTP 500 error.

“Hang on!” You might be thinking. “That wasn’t a rewrite to the active voice. That’s completely different text.”

But that’s exactly the point.

Like a magician using misdirection, passive voice draws the reader’s attention away from missing details. The active voice version makes the missing details obvious.

You’ll often find that converting a sentence from passive voice to active voice reveals gaps in your thinking or designs.

Passive voice increases cognitive load for the reader๐Ÿ”—

Most English sentences take the form of actor โ†’ verb โ†’ object. This structure is familiar to the reader, and it allows them to parse the sentence easily.

Passive voice inverts the typical sentence structure, increasing the reader’s mental burden. When they see a verb before its corresponding actor, they effectively have to push it onto their mental stack and then rewrite it in their brain as “actor โ†’ verb โ†’ object.”

You’re allowed to challenge the reader, but save it for when you have a difficult topic to explain, not when you want to use a particular sentence structure.

When is passive voice useful?๐Ÿ”—

Despite all the reasons not to use passive voice, there are a few cases where it’s acceptable and, I’ll admit: helpful.

As a rule of thumb, whenever you encounter passive voice in your writing, consider a rewrite. But also consider the possibility that, in certain cases, passive voice’s benefits outweigh its costs.

Use passive voice to focus on solutions rather than assigning blame๐Ÿ”—

When you discuss problems with teammates, it’s important to focus on solving the problem rather than pointing fingers.

Imagine that you were performing a postmortem on a website outage, and you included this sentence:

Bad: Use the active voice to focus blame on a teammate

Michael accidentally shut down the production server, which caused a three-hour outage on our website.

The phrasing leads the reader to believe that Michael is the problem. If Michael hadn’t been so stupid and careless, the outage would never have happened.

Here’s a rewrite in the passive voice:

Good: Use the passive voice to shift focus to the problem

The production server was accidentally shut down, which caused a three-hour outage on our website.

The passive voice shifts focus away from the individual and leads the reader’s attention to the systems that allowed the problem:

  • Why should there be an outage if one server shuts down?
  • Why is it possible to shut down a critical server by mistake?
  • Why does it take three hours to get a critical server back online?

These questions are likely to yield more robust systems than simply blaming the issue on one person’s carelessness.

Use passive voice to communicate mistakes tactfully๐Ÿ”—

I find passive voice effective in pointing out someone’s mistake in a friendly, professional way, especially if I don’t know the person well.

For example, if a customer forgot to include their logs with a bug report, this would be a particularly hostile way of letting them know:

Bad: Use the active voice to make communication adversarial

It looks like you ignored my instructions and failed to include the log file in your bug report.

Instead, I would use the passive voice to avoid sounding accusatory:

Good: Use the passive voice to shift focus to the problem

It looks like the log file was accidentally omitted from the bug report. Could you try reattaching your log file and emailing it to me?

Use passive voice to exclude irrelevant details๐Ÿ”—

Passive voice omits details, but sometimes that’s what you want. Some details are irrelevant and deserve omission.

Good: Use the passive voice to exclude irrelevant details

I was fired from my last job for bringing my pet puma to work.

The sentence above uses passive voice to omit details, but that’s okay.

Maybe the person who fired you was named Gary, and he was a junior HR associate. He dreamt of winning the national Scrabble championship, and his favorite color was purple.

The reader doesn’t care about Gary.

They care about why you have a pet puma, why you thought it was a good idea to bring it to work, and what happened when you did. In that case, it’s perfectly acceptable to use passive voice to edit Gary out of your story.

Practice recognizing the passive voice๐Ÿ”—

When I’ve campaigned to teammates about the evils of passive voice, they usually agree that passive voice creates problems, but they struggle to recognize it in their writing.

To help readers who have difficulty identifying the passive voice, I created a short exercise to test your ability to identify the passive voice:

Read the full book

This is an excerpt from my upcoming book, Refactoring English: Effective Writing for Software Developers.

To improve your writing and further your career, read the full book.