Narrative:

I was flying with my instructor in aircraft X on a night xc (cross country) flight for training. Shortly after reaching ZZZ1 as a check point we made direct to ZZZ2 with active flight following. Cruising westbound at 4;500 ft. We had a near miss with aircraft Y who was flying at the same altitude eastbound. My ads-B in kicked in and we offset 20 degrees to the left to avoid collision. We received a traffic notice from ZZZ approach as we maneuvered. The aircraft in question was not on freq at the time. The pilot in aircraft Y showed inept skills in selecting proper altitude and scanning for non-ads-b aircraft.

Google
 

Original NASA ASRS Text

Title: Pilot reported a NMAC with another small aircraft that ATC issued traffic for and was displayed on the reporter's ADS-B.

Narrative: I was flying with my instructor in Aircraft X on a night XC (cross country) flight for training. Shortly after reaching ZZZ1 as a check point we made direct to ZZZ2 with active flight following. Cruising westbound at 4;500 ft. we had a near miss with Aircraft Y who was flying at the same altitude eastbound. My ADS-B in kicked in and we offset 20 Degrees to the left to avoid collision. We received a traffic notice from ZZZ Approach as we maneuvered. The aircraft in question was not on freq at the time. The pilot in Aircraft Y showed inept skills in selecting proper altitude and scanning for non-ads-b 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.