The history of men wearing pajamas dates back to the 17th century. Pajamas were introduced to the Western world by travelers and merchants who encountered the traditional attire in India and other Eastern countries. The word "pajama" itself is derived from the Hindi word "pāy-jāmā," meaning leg garment. Initially, men's pajamas were considered exotic and luxurious garments worn by the upper class. However, their popularity gradually spread, and by the 19th century, pajamas became more widely accepted as sleepwear for men.