The kilt is a traditional Scottish garment with a long and storied history. Though its exact origins are unknown, the kilt is thought to date back to at least the 16th century. Though it fell out of fashion in the 18th and 19th centuries, the kilt made a comeback in the early 20th century and has been a staple of Scottish culture ever since.
Though there is no law explicitly prohibiting the wearing of a kilt, there are some restrictions in place. The kilt is generally considered appropriate attire for formal occasions such as weddings, funerals, and other similar events. Additionally, many workplaces have their own dress code policies that may prohibit the wearing of a kilt.
In general, however, there is no legal reason why you cannot wear a kilt in Scotland. So go ahead and break out your kilt for your next Scottish adventure!