Narrative:

While doing touch and go's with my student on xxr; we were told to follow an aircraft ahead of us in the pattern. Upon reaching downwind to base; we turned to follow another aircraft that was actually ahead of the aircraft we were instructed to follow. This resulted in a traffic conflict between us and the aircraft we were supposed to follow. The aircraft we were flying was not equipped with any traffic avoidance equipment or ads-B. This does not negate my responsibility as an instructor to maintain situational awareness at all times. I debriefed this with my student and have continued to share lessons learned with my other students since this event. When in doubt about traffic to follow; always ask for sequence.

Google
 

Original NASA ASRS Text

Title: C172 Flight Instructor reported following wrong aircraft in pattern resulting in NMAC.

Narrative: While doing touch and go's with my student on XXR; we were told to follow an aircraft ahead of us in the pattern. Upon reaching downwind to base; we turned to follow another aircraft that was actually ahead of the aircraft we were instructed to follow. This resulted in a traffic conflict between us and the aircraft we were supposed to follow. The aircraft we were flying was not equipped with any traffic avoidance equipment or ADS-B. This does not negate my responsibility as an instructor to maintain situational awareness at all times. I debriefed this with my student and have continued to share lessons learned with my other students since this event. When in doubt about traffic to follow; always ask for sequence.

Data retrieved from NASA's ASRS site and automatically converted to unabbreviated mixed upper/lowercase text. This report is for informational purposes with no guarantee of accuracy. See NASA's ASRS site for official report.