A couple hours or more if it is gnarly single track.
Seriously, some parameters would help. Elevation, # of stop lights\signs, weather, what you are riding, your fitness level, what else you do besides ride, etc.
My 23 mile ride is taking me between an hr and a half and an hr and 45 min. Lately I have been doing quite a few intervals the day before and my legs feel like mush.