Narrative:

After takeoff the landing gear master caution warning sounded; landing gear failed to retract correctly. We notified ATC; were vectored to a safe airspace; ran the QRH; declared an emergency and returned to our deparature airport.

Google
 

Original NASA ASRS Text

Title: A DHC-8 declared and emergency and returned to their departure airport when the landing gear failed to retract normally.

Narrative: After takeoff the landing gear master caution warning sounded; landing gear failed To retract correctly. We notified ATC; were vectored to a safe airspace; ran the QRH; declared an emergency and returned to our deparature airport.

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