Morocco is in Northern-Africa bordering the Mediterranean and the Atlantic. The country's diverse geography and the land's long history marked by successive waves of settlers and military encroachments are all reflected in Morocco's architecture.
Morocco's first independent state called the Berber kingdom of Mauretania was ruled by the Berbers clan. It was first documented during 110 BCE. During the time of the Berbers, the country has been through several sieges by a number of invaders. Nevertheless, the Berbers ritual and beliefs still remained and became the country's cultural heritage including its antique architecture. The Berbers are known for their use of earth or mud brick called pisé (French). Many of the massive pisé buildings had defensive functions as main trading posts and ports or guard walls against pirates and rivals. This ancient building method prevails in all sizes of buildings. Since pisé is a water-permeable material, the foundation is required to be rebuilt regularly; however, the repeating use of forms, materials and patterns resulted as Morocco's distinctive architecture. Moreover, Moroccan traditional architecture also gained influences from neighboring countries and intruders. 
The conversion of the Berber tribes in Morocco to Islam by Idris I of Morocco greatly influenced the overall architectural style of the country. The elegance of Islamic features is blended in and adapted into buildings and interior designs such as the use of tiling, fountains, geometric design and floral motifs. Which could be seen in mosques, palaces, plazas as well as homes. The materials chosen for the interiors of Moroccan classical architecture, are due in part to the necessity of cooling in the arid land climate of Morocco.
Modern day Spain was a Moorish domain from the early 8th century to the late 15th century and was known as Al-Andalus 711 to 1492 During the 11th century the berber dynasty of the Almohad Caliphate, ruled Morocco and the southern part of modern-day Spain the most famous of their remaining buildings are the Koutoubia Mosque in Marrakesh, the Giralda of Seville, Spain and the Hassan Tower, in Rabat, Morocco. The Almoravid dynasty ruled Morocco and the southern half of Spain through the 12th century. The Marinid dynasty from the 13th through the 15th century, rule both Moroccan and Southern Spain until the Reconquista with the fall of Granada in 1492, effectively ending the Moorish era in Iberia. Moorish architecture therefore evolved into a distinct form. The elements of which are as follows
France occupied Morocco in 1912. Later, as a result of the unorganized growth of real estate in the late 1800s to early 1900s, the French protector declared regulations for building standards which directly affected the architecture at that time, as follows:
The building regulations maintained the country's preexisting architectural features and balanced the rapid urbanization.
The Riad also known as Dar is the Moroccan traditional house, which normally has two or more storeys around a courtyard.
Dar Seffarine a riad in Fes, Morocco built in the 14th Century
Villas are larger stand-alone housing in the urbanized area which do not need to follow traditional architectural style.
Arches, most often the horseshoe arch are used in almost every aspect of Moroccan housing whether it is doors, entrances, windows or niches.
Domes are often integrated with altars or commemorative monuments as well as modern villas.
The interior doors of villas are usually oversized and decorative. In contrast, very small doors are used in dars. Doors are often adorned with delicate metal work, carving or color.
In contrast with doors, windows in Moroccan architecture are often unremarkable. They are normally arched glass panes with fewer adornments compared to doors.
Mashrabiya is an Islamic dowel work, made by carving large wood partitions in elaborate geometric patterns. Its purpose is to conceal the women from the visitor's prying eyes according to Islamic tradition.
The fountain is a conspicuous feature in every house, often made of marble or cement. It is built in the heart of the courtyard, living room or guest room.
Woodwork can be found in both urbanized and more traditional areas of Morocco. The woodwork serves as the main finishing. This intricate woodwork can be found on various surfaces of buildings especially the interiors, such as wall, ceiling window, gallery and balcony. The wood itself does not need to be finished or painted after the long process of delicate carving.
The plaster used for sculpting is called "gabs" or "jybs" in Moroccan, with the gypsum extracted abundantly from quarries in Safi, Asni, Meknes and Ouazzane. Tadelakt, qadad, and non-waterproof plasters are used. They may be polished smooth or elaborately carved into yeseria.
A wide variety of ceramics is produced in Morocco. The painted and glazed ceramics are used for architectural work and tableware. Some are commonly used as roof tiling and decorative zellige tilework. The process of tiling, arranging and cutting them requires expertise in order to deliver a detailed piece of work.
Morocco is known for their vivid and colorful design. However the diversity of colors that are included in the design all holds different connotations.
|Blue||Greenish Turquoise, Fresh Fez Blue, Electric Majorelle Blue, Dark and Light Indigos||Sky, Heaven, Water, Planet Mercury. Muslims believed the color could protect them from evil's eyes, also believe that it can enhance one medical and cosmetic condition.||Tiling, Floor, Textiles, Door and window frames, Garden furniture|
|White||White, Ivory, Beige||Cleanness, Good luck, Beauty, Femininity. Based on Muslim belief these colors connote moral qualities.||Commonly found in textiles using different materials. As a complement to other Moroccan patterns that use darker colors.|
|Red||Salmon, Rosy Pink, Fuchsia, Apple Red, Brick Red, Carmine, Violet, Bordeaux||Female, Sexuality, Fertility, Childbirth which relates to happy marriage. Some said it also represent the planet Mars.||Walls, Roof tiles, Carpets, Pottery|
|Black||Black, Soft Black, Smoke, Brown||Though the scheme is popularly used, however it holds a negative connotation. Believe that these colors are likely to bring bad luck and grief.||Mosaic, Carpets, Textiles. However it is use frequently in various items since it is a base color in their design.|
|Green||Bottle Green, Blue Green, Grass Green||The color relates with the Muslim interpretation of heaven presumably because it is in between the reddish hell and the blue heaven based on their belief.||Pottery, Tiling, Ceiling Painting, Furniture|
|Yellow||Gold, Lemon Yellow, Dark Yellow, Orange Yellow, Orange||Gold, Wealth, Sun. Believed that these colors would protect them from evil.||Textiles and embroidery, Tiling, Painted decoration on furniture, Leather products, Carpets|
Bou Inania Madrasa, showing the classic elements of Moroccan 12th century style