Narrative:

Entering left downwind for runway xx at ZZZ noticed aircraft Y also on downwind for runway xx. Prior to this; we announced our position and intention to enter runway xx downwind on CTAF. Aircraft Y made a takeoff call on CTAF and took off from runway xx as we were approximately 4 miles from entering downwind for runway xx. Aircraft Y made no further radio calls until after we announced our position on the downwind leg. After our downwind call; aircraft Y also announced that he was on downwind for runway xx. This is when I saw that he was co-altitude and approximately 500 feet to the left of my aircraft. At this point I maneuvered to maintain safe spacing between our aircraft.

Google
 

Original NASA ASRS Text

Title: Cessna-172 pilot reported an NMAC event in VFR landing pattern with trailing aircraft .

Narrative: Entering left downwind for RWY XX at ZZZ noticed Aircraft Y also on downwind for RWY XX. Prior to this; we announced our position and intention to enter RWY XX downwind on CTAF. Aircraft Y made a takeoff call on CTAF and took off from RWY XX as we were approximately 4 miles from entering downwind for RWY XX. Aircraft Y made no further radio calls until after we announced our position on the downwind leg. After our downwind call; Aircraft Y also announced that he was on downwind for RWY XX. This is when I saw that he was co-altitude and approximately 500 feet to the left of my aircraft. At this point I maneuvered to maintain safe spacing between our aircraft.

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.