It takes about 1 hour and 10 minutes by train from Naples to Sorrento. DD trains do not stop at all the stations, so reach Sorrento in about 50 minutes.