Pajamas or pyjamas , often shortened to PJs or jammies, can refer to several related types of clothing originating from the Indian subcontinent. In the Western world, pajamas are loose-fitting garments derived from the original garment and worn chiefly for sleeping, but sometimes also for lounging, also by both sexes. More generally, pajamas may refer to several garments, for both daywear and nightwear, derived from traditional pajamas and involving variations of style and material.
The word pyjama  was borrowed c. 1800 from the Hindustani p?y-j?ma (? ), itself borrowed from Persian p?y-j?meh ?? lit. 'leg-garment'. The original pyj?m? are loose, lightweight trousers fitted with drawstring waistbands worn by many Indian Muslims, as well as many Sikhs and Hindus, and later adopted by Europeans during East India Company rule in India.
The worldwide use of pajamas (the word and the garment) is the result of adoption by British colonists in India in the 18th and 19th centuries, and the British influence on the wider Western world during the Victorian era. Pajamas had been introduced to England as "lounging attire" as early as the seventeenth century, then known as mogul's breeches (Beaumont and Fletcher) but they soon fell out of fashion. The word pajama (as pai jamahs, Paee-jams and variants) is recorded in English use in the first half of the nineteenth century. They did not become a fashion in Britain and the Western world as sleeping attire for men until the Victorian period, from about 1870.
Hobson-Jobson: A Glossary of Colloquial Anglo-Indian Words and Phrases (1886) summarizes the state of usage at the time (s.v. "pyjammas"):
Such a garment is used by various persons in India e.g. by women of various classes, by Sikh men, and most by Mohammedans of both sexes. It was adopted from the Mohammedans by Europeans as an article of dishabille and of night attire, and is synonymous with Long Drawers, Shulwaurs, and Mogul-Breeches [...] It is probable that we English took the habit like a good many others from the Portuguese. Thus Pyrard (c. 1610) says, in speaking of Goa Hospital: "Ils ont force calsons sans quoy ne couchent iamais les Portugais des Indes" [...] The word is now used in London shops. A friend furnishes the following reminiscence: "The late Mr. B--, tailor in Jermyn Street, some on 40 years ago, in reply to a question why pyjammas had feet sewn on to them (as was sometimes the case with those furnished by London outfitters) answered: "I believe, Sir, it is because of the White Ants."
Traditional pajamas consist of a jacket-and-pants combination made of soft fabric, such as flannel or lightweight cotton. The jacket element usually has a placket front and its sleeves have no cuffs. Many people opt to sleep or lounge in just the pajama pants, either with a t-shirt, or, for males, barechested. For this reason, pajama pants for men and boys are often sold as separates.
Some pajamas feature a drop seat (also known as a trap door or butt flap): a buttoned opening in the seat, designed to allow the wearer to conveniently use a toilet. Drop seats were very common on pajamas made before the 1950s, but in the early twenty-first century they are rather rare.
Contemporary pajamas are derived from traditional pajamas. There are many variations in style such as short sleeve pajamas, pajama bottoms of varying length, or, on occasion, one-piece pajamas, and pajamas incorporating various materials. Chiefly in the US, stretch-knit sleep apparel with rib-knit trimmings are common. Usually worn by children, these garments often have pullover tops (if two-piece) or have zippers down the fronts (if one-piece), and may also be footed.
Although pajamas are usually distinguished from non-bifurcated sleeping garments such as nightgowns, in the US, they have sometimes included the latter as a top. Babydoll pyjamas have a kind of short dress top over shorts or short pants.
Pajamas may today refer to women's combination daywear, especially in the US where they became popular in the early twentieth century, consisting of short-sleeved or sleeveless blouses and lightweight pants. Examples of these include capri pajamas, beach pajamas, and hostess pajamas.
This section possibly contains original research. (March 2016) (Learn how and when to remove this template message)
Pajamas often contain visual references to a thing that may hold some special appeal to the wearer. Images of sports, animals, balloons, polka dots, flowers, stripes, plaids, foulards, paisleys and other motifs may all be used for decoration. Pajamas may also be found in plainer designs, such as plaid or plain gray, but when worn in public, they are usually designed in such a way that makes their identity unambiguous. Older styles of children's pajamas have been depicted as having a square button-up flap covering the buttocks.
Pajamas are often worn with bare feet and sometimes without underwear. They are often worn for comfort by individuals in their living quarters. Since the late 20th century, some people, in particular those in the US and to some extent Britain and Australia, and Polynesians in New Zealand, have worn pajamas in public, whether for convenience or as a fashion statement.
In January 2012, a local Dublin branch of the Government's Department of Social Protection advised that pajamas were not regarded as appropriate attire for clients attending the office for welfare services.
In January 2012, Michael Williams, a commissioner in Caddo Parish, Louisiana, proposed an ordinance prohibiting people from wearing pajamas in public. Caddo Parish already has a law against wearing sagging pants that hang below the waist. Williams pushed for a law against pajama pants after seeing a group of young men wearing loose-fitting pajama pants that were about to show their private parts. According to Williams, "The moral fiber in our community is dwindling. If not now, when? Because it's pajama pants today, next it will be underwear tomorrow." 
Williams' concerns are reflected in many school and work dress codes. Mount Anthony Union High School in Bennington, Vermont, banned students in 2011 from wearing pajamas to school, concerned that they could be a safety hazard.
Boys in stretch-knit pajamas.
Toddler in footed pajamas.
Men in white pajamas with hunting cheetahs, India 1844.
The word pajama derives from the Hindustani epai-jama.
pajama: (1930-1940 C.E. to present). From the Hindustani word epai-jama, shirt and trouser combination.
Similarly, the sari is the most common dress of women all over India and is worn by both Hindu and Muslim women, and where pyjamas are worn by women as in parts of the north-western region, they are worn not only by Muslim women but by Sikh and Hindu women as well.
Hindu women in the towns usually wear sari and blouse, while the Jat, Sikh and other Panjabi women wear salwar, kurta and dupatta. In the urban areas, some elderly males, both Hindus and Muslims, are seen wearing churidar pyjamas, achkans (long, buttoned-up coats) and Gandhi caps.
But under Muslim rule (in India) ... a variety of sown clothes started emerging .... Muslims introduced pyjamas and kurtas