The
sleeping car or
sleeper (often ) is a railway
passenger car that can accommodate all its passengers in beds of one kind or another, primarily for the purpose of making nighttime travel more restful. The first such cars saw sporadic use on American railroads in the 1830s; they could be configured for
coach seating during the day. Some of the more luxurious types have private rooms (fully and solidly enclosed rooms that are not shared with strangers).