“If I had known” or “if I had of known”?
Write “if I had known” when you look back at how something could have gone if you knew a fact earlier. Use “had” before “known” and leave out “of.” You can say you would have stayed home if you had known the pool was closed. Each part has its own verb.
What Harper flagged
Measured with Harper 3.3.0 on , on this page’s own sentences.
Rule HadOf
| Sentence | Words flagged | Harper’s message | First suggestion |
|---|---|---|---|
| If I had of known the pool was closed, I would have stayed home. | had of | Did you mean | Replace with: “had have” |
| If she had of left earlier, she could have caught the bus. | had of | Did you mean | Replace with: “had have” |
| I wish we had of brought a spare blanket for the ride. | had of | Did you mean | Replace with: “had have” |
| If I had known the pool was closed, I would have stayed home. | No flag from this rule | ||
| If she had left earlier, she could have caught the bus. | No flag from this rule | ||
| I wish we had brought a spare blanket for the ride. | No flag from this rule | ||
| We could have stayed if we had more time. | No flag from this rule | ||
Why it happens
The part that begins with “if” names a condition that did not happen in this story. You did not know the pool was closed. In the next part, “would have stayed” says what the result could have been. The words in that second part do not need to be carried back into the first.
“I wish we had brought a blanket” also looks back at a choice. You can read it as two parts. “I wish” tells the reader how you feel now, and “we had brought” names what you would like to have done in the past. “Had” sits right beside the form “brought.”
Check it by hand
Pick out the words that name the earlier event, such as “known,” “left,” or “brought.” Read that part with “had” right before the word. Put “would have” or “could have” in the part that says what could then have happened.
Questions people ask
Can I write “if I’d known”?
Yes. “I’d” stands for “I had” here. The short form still goes right before “known.”
Is it “had known” or “had knew”?
Write “had known.” Use “knew” when it gives the past action on its own, as in “I knew the pool was closed.”
Harper’s own description
Harper’s words under Apache-2.0Flags the unnecessary use of
of after had and suggests the correct forms.
More rules
Try it
Try a sentence in the free checker. Your text stays on the page.
Grammarnest is being built to check your writing in every app on your computer. Your writing will stay on your computer and will never be sent.
Sources
- Harper project and its Apache-2.0 licence
- Harper v3.3.0 release
- Run on . Full results