PA-28 Cherokee/Archer/Dakota/Pillan/Warrior
Flight Crew Commercial; Flight Crew Instrument
Flight Crew Last 90 Days 20; Flight Crew Total 395; Flight Crew Type 390
Situational Awareness; Time Pressure; Communication Breakdown
Conflict NMAC
Flight Crew Took Evasive Action
Human Factors
I was the pilot of Aircraft X; a Piper Archer; departing from ZZZ. I monitored the CTAF during run-up and taxi. I visually checked for arriving and pattern traffic and announced my intention to takeoff on Runway XX with a departure to the east. No aircraft were visible and there were no aircraft reporting on CTAF. I performed a normal takeoff and while climbing on runway heading I received a audible traffic advisory from my ADS-B which indicated an aircraft was 200 ft. above me. I had not reached pattern altitude. I immediately stopped my climb and scanned for the traffic. I observed a high wing aircraft less than 200 ft. overhead and less than 50 yards to my left. The aircraft was heading westbound and was only slightly offset from the runway at ZZZ. I altered my course to the right. Once clear of the conflict; I continued my climb to pattern altitude and contacted Buffalo Approach to report my position and request flight following. I believe the other aircraft was on a visual approach to land at ZZZ1; which is close to ZZZ. The pilot of the other aircraft essentially directly overflew ZZZ Runway XX at pattern altitude causing a significant potential conflict. Most of my flight time has been spend operating at ZZZ and I have never experienced an incident like this; so I believe it is isolated. I think the pilot of the other aircraft should have been mindful of the airports and airspace surrounding ZZZ1 and should have avoided flying over ZZZ at pattern altitude. Workload depending; Approach should consider advising arriving aircraft to ZZZ1 when they will directly overfly a satellite airport at less than 500 feet above pattern altitude. This does not relieve the pilot's responsibility to see and avoid; but is an added precaution.
PA-28 Pilot reported a NMAC during takeoff with an aircraft transitioning the airport traffic area.