Skip to content
Grammar By Edumynt

Dangling Modifiers: The Funny Grammar Error in Sentences

Learn dangling modifiers in English grammar: why opening phrases must clearly connect to the subject, with examples, exam traps, corrections, and practice.

English Grammar , Writing Skills 9 min read

A dangling modifier is a modifier that is left without a clear word to describe. The sentence may be grammatically complete, but the meaning becomes illogical, accidental, or unintentionally funny.

Wrong: Walking to school, the rain started.
Better: Walking to school, I got caught in the rain.

In the wrong sentence, walking to school seems to describe the rain. But rain cannot walk to school. The intended meaning is that I was walking to school when the rain started.

Dangling modifiers matter because they create unclear writing. They also appear in error spotting, sentence correction, editing tasks, and MCQs. They are closely related to Misplaced Modifiers, but the problem is slightly different: a misplaced modifier is attached to the wrong word; a dangling modifier often has no suitable word to attach to at all.

For stronger sentence control, it also helps to revise Basic Sentence Patterns in English and The Rule of Parallelism.


A modifier is a word, phrase, or clause that adds information about another part of the sentence. A dangling modifier usually appears at the beginning of a sentence and describes an action, condition, reason, or purpose, but the doer of that action is missing from the main clause.

Wrong: After studying all night, the exam was easy.

Who studied all night? The sentence says the exam, but an exam cannot study. The doer is missing.

Better: After studying all night, I found the exam easy.

Now the opening phrase clearly describes I.

Rule box: Make the doer of the opening phrase the subject of the main clause.

This is the safest rule for most school, exam, and professional writing. If the sentence begins with Walking…, After studying…, To pass…, Born in…, While reading…, or a similar phrase, ask: Who is doing this? That person or thing should usually come immediately after the comma.


Dangling modifiers can appear in several forms. The structure changes, but the logic remains the same: the modifier must clearly connect to the right subject.

These phrases begin with an -ing form such as walking, reading, running, waiting, or driving.

DanglingCorrectReason
Walking home, my phone rang.Walking home, I heard my phone ring.I was walking, not the phone.
Driving to work, a dog crossed the road.Driving to work, she saw a dog cross the road.She was driving, not the dog.
Waiting for the bus, the rain became heavier.Waiting for the bus, we got wet in the heavy rain.We were waiting.

An -ing phrase at the beginning usually describes the subject that follows.

These phrases often begin with words like born, tired, covered, broken, written, or surprised.

Wrong: Born in Delhi, my uncle raised me.
Better: Born in Delhi, I was raised by my uncle.

In the wrong sentence, Born in Delhi seems to describe my uncle. If the intended meaning is that I was born in Delhi, the main subject must be I.

Infinitive phrases express purpose.

Wrong: To pass the test, grammar must be practised.
Better: To pass the test, students must practise grammar.

Who wants to pass the test? Students, not grammar. The subject after the comma must match the purpose phrase.

Some dangling modifiers begin with phrases such as after finishing the work, before entering the room, while reading the chapter, or on reaching the station.

Wrong: After finishing the homework, the TV was turned on.
Better: After finishing the homework, Rohan turned on the TV.

The better sentence names the person who finished the homework.

Dangling modifiers are most common at the beginning, but they can also appear near the end.

Unclear: The report was submitted by Neha after working all night.
Clear: After working all night, Neha submitted the report.

The original sentence is not impossible, but it is less direct. The corrected version makes Neha the clear doer.


Use this method whenever a sentence begins with a modifying phrase.

  1. Find the opening phrase.
  2. Ask: Who or what is doing this action or having this condition?
  3. Look at the subject of the main clause.
  4. If the subject does not match, rewrite the sentence.
  5. Read the sentence again for natural meaning.

Walking to school, the rain started.

  • Opening phrase: Walking to school
  • Doer: a person, probably I/we/the students
  • Main subject: the rain
  • Problem: rain cannot walk
  • Correct: Walking to school, I got caught in the rain.

After studying all night, the exam was easy.

  • Opening phrase: After studying all night
  • Doer: a student
  • Main subject: the exam
  • Problem: exam cannot study
  • Correct: After studying all night, I found the exam easy.

To pass the test, grammar must be practised.

  • Opening phrase: To pass the test
  • Doer: students/test-takers
  • Main subject: grammar
  • Problem: grammar is not trying to pass the test
  • Correct: To pass the test, students must practise grammar.

  1. Wrong: Running down the road, my bag fell open.
    Better: Running down the road, I noticed that my bag had fallen open.

  2. Wrong: While reading the story, the lights went out.
    Better: While reading the story, we saw the lights go out.

  3. Wrong: Covered in dust, Ravi cleaned the old table.
    Better: Covered in dust, the old table needed cleaning.

  4. Wrong: Hungry after school, the snacks disappeared quickly.
    Better: Hungry after school, the children ate the snacks quickly.

  1. Wrong: Walking to school, the rain started.
    Better: Walking to school, I got caught in the rain.

  2. Wrong: After studying all night, the exam was easy.
    Better: After studying all night, I found the exam easy.

  3. Wrong: Born in Delhi, my uncle raised me.
    Better: Born in Delhi, I was raised by my uncle.

  4. Wrong: To pass the test, grammar must be practised.
    Better: To pass the test, students must practise grammar.

  1. Wrong: Having completed the assignment, the computer was shut down.
    Better: Having completed the assignment, Meera shut down the computer.

  2. Wrong: Before entering the hall, the admit card must be checked.
    Better: Before entering the hall, candidates must check their admit cards.

Notice that many corrections do not merely move words. They add the missing doer: I, students, candidates, Meera, the children. That is often the cleanest solution.


Wrong: To improve English, daily practice is necessary.

This sentence is common and many people understand it. But in careful grammar, daily practice is not the one trying to improve English. A clearer version is:

Better: To improve English, learners need daily practice.

In exams, prefer the clearer subject-doer structure.

Wrong: After checking the answers, the paper was submitted.

Who checked the answers? The passive main clause hides the person.

Better: After checking the answers, the student submitted the paper.

Passive voice is not wrong by itself. But it often creates dangling modifiers when the doer disappears.

Wrong: Looking through the window, the mountains appeared beautiful.

The mountains were not looking through the window.

Better: Looking through the window, we saw the beautiful mountains.

Purpose phrases with to + verb usually need a living or intentional actor.

Wrong: To win the match, better fielding is needed.
Better: To win the match, the team needs better fielding.

English has some conventional opening phrases that do not always follow the strict subject rule:

Generally speaking, this method works well.
Considering the weather, the event went smoothly.

These are often treated as sentence modifiers. However, for exams and formal writing, do not use this exception as an excuse for unclear sentences. If a phrase names a real action like walking, studying, driving, or checking, make the doer clear.


MistakeCorrectionWhy
Walking to school, the rain started.Walking to school, I got caught in the rain.I was walking.
After studying all night, the exam was easy.After studying all night, I found the exam easy.I studied, not the exam.
Born in Delhi, my uncle raised me.Born in Delhi, I was raised by my uncle.I was born in Delhi.
To pass the test, grammar must be practised.To pass the test, students must practise grammar.Students want to pass.
Having eaten lunch, the class started.Having eaten lunch, the students started class.Students ate lunch.
While solving the paper, the bell rang.While solving the paper, the candidates heard the bell ring.Candidates solved the paper.

A useful habit: after writing an opening phrase, immediately check the noun or pronoun after the comma. If it cannot perform the action, the sentence is probably dangling.


  1. Which sentence is correct?

    • A. Walking to school, the rain started.
    • B. Walking to school, I got caught in the rain.
  2. Which sentence is correct?

    • A. After studying all night, I found the exam easy.
    • B. After studying all night, the exam was easy.
  3. Which sentence is correct?

    • A. To pass the test, students must practise grammar.
    • B. To pass the test, grammar must be practised.
  4. Which sentence is correct?

    • A. Born in Delhi, I was raised by my uncle.
    • B. Born in Delhi, my uncle raised me.

Find and correct the dangling modifier.

  1. Running across the field, the shoe came off.

  2. After finishing the chapter, the notebook was closed.

  3. While waiting at the station, the train was delayed.

  1. Rewrite clearly: To improve marks, regular revision is needed.

  2. Rewrite clearly: Having completed the project, the laptop was shut down.

  3. Fill in the blank with a suitable subject: While reading the passage, ______ noticed two spelling errors.

  1. B — I was walking.
  2. A — I studied all night.
  3. A — Students want to pass.
  4. A — I was born in Delhi.
  5. Better: Running across the field, Rahul lost his shoe.
  6. Better: After finishing the chapter, she closed the notebook.
  7. Better: While waiting at the station, we learned that the train was delayed.
  8. Better: To improve marks, students need regular revision.
  9. Better: Having completed the project, Ananya shut down the laptop.
  10. Possible answer: the studentWhile reading the passage, the student noticed two spelling errors.

A dangling modifier happens when a modifying phrase has no clear doer in the main clause.

Final rule: If a sentence begins with an action or condition phrase, put the person or thing described by that phrase immediately after the comma.

Memory trick: Opening action → next subject.

Revise these correct models:

Walking to school, I got caught in the rain.
After studying all night, I found the exam easy.
To pass the test, students must practise grammar.

If the opening phrase and the main subject do not logically match, rewrite the sentence before it accidentally says something funny.