is a hilltop Japanese castle complex situated in Himeji, a city in Hyōgo Prefecture, Japan. The castle is regarded as the finest surviving example of prototypical Japanese castle architecture, comprising a network of 83 structures with advanced defensive systems from the feudal period. The castle is frequently known as Hakuro-jō or Shirasagi-jō ("White Egret Castle" or "White Heron Castle") because of its brilliant white exterior and supposed resemblance to a bird taking flight.

As with almost all Japanese castles from the Azuchi-Momoyama period onward, the , the most prominent structure, was used as a storehouse in times of peace and as a fortified tower in times of war, and the 's government offices and residences were located in a group of single-story buildings near the tenshu and the surrounding .

Himeji Castle dates to 1333 when Akamatsu Norimura built a fort on top of Himeyama hill. The fort was dismantled and rebuilt as Himeyama Castle in 1346 and then remodeled into Himeji Castle two centuries later. Himeji Castle was then significantly remodeled in 1581 by Toyotomi Hideyoshi, who added a three-story castle keep. In 1600, Tokugawa Ieyasu awarded the castle to Ikeda Terumasa for his help in the Battle of Sekigahara, and Ikeda completely rebuilt the castle from 1601 to 1609, expanding it into a large castle complex. Several buildings were later added to the castle complex by Honda Tadamasa from 1617 to 1618. For almost 700 years, Himeji Castle has remained intact, withstanding incidents such as the bombing of Himeji in World War II, and natural disasters, including the 1995 Great Hanshin earthquake.

Himeji Castle is the largest and most visited castle in Japan, and it was registered in 1993 as one of the first UNESCO World Heritage Sites in the country. The area within the middle moat of the castle complex is a designated Special Historic Site and five structures of the castle are also designated National Treasures. Along with Matsumoto Castle and Kumamoto Castle, Himeji Castle is considered one of Japan's three premier castles. The castle buildings underwent restoration work for several years and reopened to the public on March 27, 2015. The works also removed decades of dirt and grime, restoring the formerly grey roof to its original brilliant white color.

History Himeyama hill, the location of present-day Himeji Castle, was first fortified in 1333 by Akamatsu Norimura, the shugo of Harima Province, during the Genkō War. In 1346, his son Sadanori demolished this fort and built Himeyama Castle in its place. In 1545, the Kuroda clan was stationed here by order of the Kodera clan, and feudal ruler remodeled the castle into Himeji Castle, completing the work in 1561. In 1580, Kuroda Yoshitaka presented the castle to Toyotomi Hideyoshi, and in 1581 Hideyoshi significantly expanded the castle, building a three-story keep with an area of about .

Following the Battle of Sekigahara in 1600, Tokugawa Ieyasu granted Himeji Castle to his son-in-law, Ikeda Terumasa, as a reward for his help in battle. Ikeda demolished the three-story keep Hideyoshi had built in 1581, and completely rebuilt and expanded the castle from 1601 to 1609, adding three moats and transforming it into the castle complex that is seen today. The expenditure of labor involved in this expansion is believed to have totaled 2.5 million man-days. Ikeda died in 1613, passing the castle to his son, who also died three years later. In 1617, Honda Tadamasa and his family inherited the castle, and Honda added several buildings to the castle complex, including a special tower for his daughter-in-law, called keshō yagura (Dressing Tower).

In the Meiji Period (1868–1912), many Japanese castles were destroyed. Himeji Castle was abandoned in 1871 and some of the castle corridors and gates were destroyed to make room for Japanese army barracks. The entirety of the castle complex was slated to be demolished by government policy, but it was spared by the efforts of Nakamura Shigeto, an army colonel. A stone monument honoring Nakamura was placed in the castle complex within the first gate, the . Although Himeji Castle was spared, Japanese castles had become obsolete and their preservation was costly.

When the han feudal system was abolished in 1871, Himeji Castle was officially designated for military use in 1872. By 1874, it briefly served as the headquarters for the 10th Infantry Regiment before being replaced by the Osaka Sendai unit later that year. Efforts to preserve the castle began in 1877, but it wasn't until 1910 that the government provided funding for a comprehensive restoration project.

Himeji was heavily bombed in 1945, at the end of World War II, and although most of the surrounding area was burned to the ground, the castle survived intact. One firebomb was dropped on the top floor of the castle but failed to explode. In order to preserve the castle complex, substantial repair work was undertaken starting in 1956, with a labor expenditure of 250,000 man-days and a cost of 550 million yen. In January 1995, the city of Himeji was substantially damaged by the Great Hanshin earthquake, but Himeji Castle again survived virtually undamaged, demonstrating remarkable earthquake resistance. Even the bottle of sake placed on the altar at the top floor of the keep remained in place.

Historical recognition Himeji Castle was registered on 11 December 1993 as one of the first UNESCO World Heritage Sites in Japan. Five structures of the castle are also designated National Treasures: The , , , , and . The area within the middle moat of the castle complex is a designated Special Historic Site.

Along with Matsumoto Castle and Kumamoto Castle, Himeji Castle is considered one of Japan's three premier castles. It is the most visited castle in Japan, receiving over 2,860,000 visitors in 2015. Starting in April 2010, Himeji Castle underwent restoration work to preserve the castle buildings, and reopened to the public on March 27, 2015.

Design details Himeji Castle is the largest castle in Japan. It serves as an excellent example of prototypical Japanese castle architecture, containing many of the defensive and architectural features associated with Japanese castles. The curved walls of Himeji Castle are sometimes said to resemble giant , but the principal materials used in the structures are stone and wood. Feudal are installed throughout the architecture of the building, signifying the various lords that inhabited the castle throughout its history.

The specific style of the castle is a hirayama (平山城 flat hilltop). Two castles that were built during the same time and shared many of the architectural features are Matsuyama Castle (Iyo) and Tsuyama Castle.

The Himeji Castle complex is located in the centre of Himeji, Hyōgo on top of a hill called Himeyama, which is above sea level. The castle complex comprises a network of 83 buildings such as storehouses, gates, corridors, and . Of these 83 buildings, 74 are designated as Important Cultural Assets: 11 corridors, 16 turrets, 15 gates, and 32 earthen walls. The highest walls in the castle complex have a height of . Joining the castle complex is , a Japanese garden created in 1992 to commemorate Himeji city's 100th anniversary.

From east to west, the Himeji Castle complex has a length of , and from north to south, it has a length of . The castle complex has a circumference of . It covers an area of 233 hectares (2,330,000 m2 or 576 acres), making it roughly 50 times as large as the Tokyo Dome or 60 times as large as Koshien Stadium.

The at the center of the complex is high, standing above sea level. Together with the main keep, three form a cluster of towers. Externally, the keep appears to have five floors, because the second and third floors from the top appear to be a single floor; however, it actually has six floors and a basement. The basement of the main keep has an area of , and its interior contains special facilities that are not seen in other keeps, including lavatories, a drain board, and a kitchen corridor.

The main keep has two pillars, with one standing in the east and one standing in the west. The east pillar, which has a base diameter of , was originally a single fir tree, but it has since been mostly replaced. The base of the west pillar is , and it is made of Japanese cypress. During the Shōwa Restoration (1956–1964) a Japanese cypress tree with a length of was brought down from the Kiso Mountains and replaced the old pillar. The tree was broken in this process, so another tree was brought down from Mount Kasagata, and the two trees were joined on the third floor.

The first floor of the main keep has an area of and is often called the "thousand-mat room" because it has over 330 Tatami mats. The walls of the first floor have for holding matchlocks and spears, and at one point, the castle contained as many as 280 guns and 90 spears. The second floor has an area of roughly .

The third floor has an area of and the fourth floor has an area of . Both the third and fourth floors have platforms situated at the north and south windows called , where defenders could observe or throw objects at attackers. They also have small enclosed rooms called , where defenders could hide themselves and kill attackers by surprise as they entered the keep. The final floor, the sixth floor, has an area of only . The sixth floor windows now have iron bars in place, but in the feudal period the panoramic view from the windows was unobstructed.

Defences

Himeji Castle contains advanced defensive systems from the feudal period. in the shape of circles, triangles, squares, and rectangles are located throughout Himeji Castle, intended to allow defenders armed with tanegashima or archers to fire on attackers without exposing themselves. Roughly 1,000 loopholes exist in the castle buildings remaining today. Angled chutes called were also set at numerous points in the castle walls, enabling stones or boiling oil to be poured on the heads of attackers passing by underneath, and white plaster was used in the castle's construction for its resistance to fire.

The castle complex included three moats, one of which—the outer moat—is now buried. Parts of the central moat and all of the inner moats survive. The moats have an average width of , a maximum width of , and a depth of about . The is a pond which exists inside the castle; one of the purposes of this moat was to store water for use in fire prevention.

The castle complex, particularly the , contains numerous warehouses that were used to store rice, salt, and water in case of a siege. A building known as the was used specifically to store salt, and it is estimated that it contained as many as 3,000 bags of salt when the castle complex was in use. The castle complex also contained 33 wells within the inner moat, 13 of which remain; the deepest of these has a depth of .

One of the castle's most important defensive elements is the confusing maze of paths leading to the castle's keep. The gates, baileys, and outer walls of the complex are organized so as to confuse an approaching force, causing it to travel in a spiral pattern around the complex on its way to the keep. The castle complex originally contained 84 gates, 15 of which were named according to the Japanese syllabary iroha (I, Ro, Ha, Ni, Ho, He, To, etc.). At present, 21 gates from the castle complex remain intact, 13 of which are named according to the Japanese syllabary.