Narrative:

After takeoff in ZZZ, the gear would not retract. It became apparent after examining checklists and talking to maintenance control that the gear was going to remain down. We returned for a normal landing in ZZZ with all indications normal. When a mechanic checked the gear, he informed us that the gear bypass was open. Assuming the gear bypass was left open by someone, it is possible it was left open by maintenance during their service check the night before. Since it was dark and rainy for this early morning departure, it may have been missed during walkarounds.

Google
 

Original NASA ASRS Text

Title: AN MD80 ON CLBOUT AT 3000 FT DIVERTED DUE TO UNABLE TO RETRACT THE NOSE GEAR. ON LNDG FOUND NOSE GEAR HYD BYPASS VALVE OPEN.

Narrative: AFTER TKOF IN ZZZ, THE GEAR WOULD NOT RETRACT. IT BECAME APPARENT AFTER EXAMINING CHKLISTS AND TALKING TO MAINT CTL THAT THE GEAR WAS GOING TO REMAIN DOWN. WE RETURNED FOR A NORMAL LNDG IN ZZZ WITH ALL INDICATIONS NORMAL. WHEN A MECH CHKED THE GEAR, HE INFORMED US THAT THE GEAR BYPASS WAS OPEN. ASSUMING THE GEAR BYPASS WAS LEFT OPEN BY SOMEONE, IT IS POSSIBLE IT WAS LEFT OPEN BY MAINT DURING THEIR SVC CHK THE NIGHT BEFORE. SINCE IT WAS DARK AND RAINY FOR THIS EARLY MORNING DEP, IT MAY HAVE BEEN MISSED DURING WALKAROUNDS.

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.