How Japanese surnames began
Until the 19th century most ordinary Japanese people had no official surname; family names were used mainly by aristocrats and samurai. In 1875 the Meiji government required every citizen to register one, and families chose names from places, landscape features, villages, temples and old clan names — which is why so many Japanese surnames describe nature, like Tanaka ("in the rice field") and Yamamoto ("base of the mountain").
Japan now has an extraordinary number of different surnames — well over 100,000.
How the names work
Japanese surnames are written with kanji characters, and the same characters can be read in several ways, while one name can be written with different characters. The family name comes first in Japanese (Tanaka Hiroshi). Married couples must legally share one surname, and in most cases the wife takes the husband's name.