Narrative:

A sudden yet gradual electrical failure occurred around 1;300 feet upon climbout. The first item to go out was the transponder to which tower called out 'aircraft; say position.' after he said this; my avionics started to get fumbly and my radios were beginning to get static. I did my best to inform ATC where I was and that I was losing my avionics; however; I could only hear receiving radio and could not transmit. I found it was unsafe to return to the congested airport so I flew to a different airport VFR and exercised extreme visual vigilance for other airplanes in the area as well as avoiding any airspace requiring radio communications. I flew well off the coast. I landed at a non-towered airport without incident.

Google
 

Original NASA ASRS Text

Title: A C172 pilot reported complete electrical failure.

Narrative: A sudden yet gradual electrical failure occurred around 1;300 feet upon climbout. The first item to go out was the transponder to which Tower called out 'Aircraft; say position.' After he said this; my avionics started to get fumbly and my radios were beginning to get static. I did my best to inform ATC where I was and that I was losing my avionics; however; I could only hear receiving radio and could not transmit. I found it was unsafe to return to the congested airport so I flew to a different airport VFR and exercised extreme visual vigilance for other airplanes in the area as well as avoiding any airspace requiring radio communications. I flew well off the coast. I landed at a non-towered airport without incident.

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.