Narrative:

After takeoff we were unable to retract the landing gear. We completed the emergency procedure checklist with no success, and returned for a normal landing. Maintenance found the main landing gear bypass handle unlocked. The first officer had completed the origination preflight prior to the flight. He recalls seeing the bypass handle flush with the fuselage, so it did not attract his attention any further. The first officer does not recall specifically seeing if the lock was secured.

Google
 

Original NASA ASRS Text

Title: AN ACR MD80 CREW HAD TO RETURN LAND WHEN IT COULD NOT RAISE ITS LNDG GEAR.

Narrative: AFTER TKOF WE WERE UNABLE TO RETRACT THE LNDG GEAR. WE COMPLETED THE EMER PROC CHKLIST WITH NO SUCCESS, AND RETURNED FOR A NORMAL LNDG. MAINT FOUND THE MAIN LNDG GEAR BYPASS HANDLE UNLOCKED. THE FO HAD COMPLETED THE ORIGINATION PREFLT PRIOR TO THE FLT. HE RECALLS SEEING THE BYPASS HANDLE FLUSH WITH THE FUSELAGE, SO IT DID NOT ATTRACT HIS ATTN ANY FURTHER. THE FO DOES NOT RECALL SPECIFICALLY SEEING IF THE LOCK WAS SECURED.

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