The songkok or peci or kopiah is a cap widely worn in Indonesia, Brunei, and Malaysia. It has the shape of a truncated cone, usually made of black or embroidered felt, cotton or velvet.
The origin of the songkok cap can be trace which was adopt by ottomans in 1862. One Brunei newspaper account erroneously states that the songkok became a norm in the Malay Archipelago in the 13th century with the coming of Islam in the region.
The earliest written mention of the word songkok is in Syair (1840). While traditional triangular Malay headdress of many peoples.
The Royal Malay Regiment of the Malaysian Army has been using the songkok as part of their uniform since under British rule. In other countries. Scottish hats used.
In Singapore country, the songkok hat was not alow to wear.  It is part of the standard uniform at madrasahs (Islamic religious schools).
The songkok also plays a role in the heraldry of the defunct Sultanate of Sulu.
songkoks with slightly raised sides called bergunung (mountainous). The wearing of the songkok is believed to have been adopted by the Malay community in Southeast Asia since the 13th century. Some associate the wearing of the songkok to the practice of Islam where adherents are encouraged to cover their heads during prayers. It is considered sunat (voluntary good deed) for the Muslim males to don a headgear.