Narrative:

Was on a quick trip to ZZZ; VFR the entire way; about 30 min into the trip back to ZZZ1 about I noticed my navigation aids and radios started to flicker; then my GPS shut down; I switched the avionics switch to off then on again and nothing happened; I then went along and made sure none of the circuit breakers had 'popped' and none had; I then look over to the amp meter and see the needle perfectly placed on zero amps; I also checked my turn coordinator and confirmed it was not moving as I executed some gentle bank turns and the indicator did not move at all; all my electrical instruments had failed including my transponder and squawk. I was approximately 15-20 miles away from ZZZ1 when this happened and no other issues persisted with the aircraft at the time. I continued to fly toward ZZZ1 as I was in a familiar place and was flying off of VFR landmarks with my sectional for navigation. I continued to fly southbound until I reached ZZZ2 then started my east bound turn towards ZZZ1; I stayed away from the final of runway xx and flew slightly north of the airfield to avoid any other traffic; I then flew over the airfield crossing runway xx in the middle of the runway southbound at 1;500 ft. And started to circle the tower at that altitude; I wait for the light gun signals and was initially given a red-green signal which is to 'use caution'; then was given a solid green 'clear to land' I rocked my wings and then brought the aircraft into a left pattern for runway xx; successfully landed the aircraft and taxied clear of the active runway; I was then given a solid red on the ground 'stop' and so I did; a county official drove up to the aircraft and asked where I was going I told him where I was going and he escorted me to the FBO.

Google
 

Original NASA ASRS Text

Title: C172 private pilot reported a complete electrical failure that resulted in a NORDO landing.

Narrative: Was on a quick trip To ZZZ; VFR the entire way; about 30 min into the trip back to ZZZ1 about I noticed my NAV aids and radios started to flicker; then my GPS shut down; I switched the avionics switch to off then on again and nothing happened; I then went along and made sure none of the circuit breakers had 'popped' and none had; I then look over to the amp meter and see the needle perfectly placed on zero amps; I also checked my turn coordinator and confirmed it was not moving as I executed some gentle bank turns and the indicator did not move at all; all my electrical instruments had failed including my transponder and squawk. I was approximately 15-20 miles away from ZZZ1 when this happened and no other issues persisted with the aircraft at the time. I continued to fly toward ZZZ1 as I was in a familiar place and was flying off of VFR landmarks with my sectional for navigation. I continued to fly southbound until I reached ZZZ2 then started my east bound turn towards ZZZ1; I stayed away from the final of Runway XX and flew slightly north of the airfield to avoid any other traffic; I then flew over the airfield crossing Runway XX in the middle of the runway southbound at 1;500 ft. and started to circle the tower at that altitude; I wait for the light gun signals and was initially given a red-green signal which is to 'use caution'; then was given a solid green 'clear to land' I rocked my wings and then brought the aircraft into a left pattern for Runway XX; successfully landed the aircraft and taxied clear of the active runway; I was then given a solid red on the ground 'Stop' and so I did; a county official drove up to the aircraft and asked where I was going I told him where I was going and he escorted me to the FBO.

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.