Narrative:

Takeoff and initial climb normal. At approximately 1;500 AGL [we experienced] total electrical failure. All screens dark; radios inoperative. Power came back on after about 10 seconds then dropped off again. Power came back on and remained on. We flew a visual pattern and landed [at departure airport]. Power remained on until we arrived at the gate and shut the aircraft down. Tower declared an emergency for [us]. Flight attendants were advised no cabin prep required.

Google
 

Original NASA ASRS Text

Title: An A320 flight crew reported total loss of all electrical power shortly after takeoff. They returned to departure airport as ATC declared an emergency for them.

Narrative: Takeoff and initial climb normal. At approximately 1;500 AGL [we experienced] total electrical failure. All screens dark; radios inoperative. Power came back on after about 10 seconds then dropped off again. Power came back on and remained on. We flew a visual pattern and landed [at departure airport]. Power remained on until we arrived at the gate and shut the aircraft down. Tower declared an emergency for [us]. Flight Attendants were advised no cabin prep required.

Data retrieved from NASA's ASRS site as of April 2012 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.