The history of photography in Japan begins in the 19th century and has continued to be a prominent art form into the present era. 
In 1848 (Edo era), a camera for daguerréotype was imported by a Dutch ship to Japan (Nagasaki, 長崎). It is said that this was the first camera in Japan. During Edo era, the import and the export had been prohibited (sakoku, 鎖国) by the Edo Government (Edobakufu, 江戸幕府), except that only Dutch ships had been permitted to export and import various goods at Nagasaki Port. Therefore, the first camera was introduced at Nagasaki. This camera was imported by Ueno Toshinojō (1790–1851, 上野俊之丞) and in 1849 passed to Shimazu Nariakira (1809–1858, 島津斉彬), who later would become a feudal lord (daimyō, 大名) of Satsuma Domain (薩摩藩, now Kagoshima-ken). 
In Satsuma Domain, detailed study with respect to photography had been done, but it took almost ten years from the acquisition of the first camera to taking the first photograph. In 1857, SHIMAZU Nariakira's photograph was taken by Ichiki Shirō (1828–1903, 市来四郎) and UJUKU Hikoemon (宇宿彦右衛門) (daguerréotype). This is said to be the first photograph taken by Japanese and still exist and can be seen at Shōko Shūseikan (尚古集成館, Kagoshima-city, Japan).
In 1854, Convention of Kanagawa (日米和親条約, Nichi-Bei Washin Jōyaku, "America-Japan Treaty of Amity and Friendship") was concluded between U.S. and Japan, Anglo-Japanese Friendship Treaty (日英和親条約, Nichi-Ei Washin Jōyaku) was concluded between Britain and Japan, and Treaty of Shimoda (日露和親条約, Nichi-Ro Washin Jōyaku) was concluded between Russia and Japan. The treaties opened the Japanese ports of Shimoda (in Shizuoka Prefecture), Hakodate (in Hokkaido Prefecture) and Nagasaki to the trade. In 1858, Treaty of Amity and Commerce (United States – Japan) (日米修好通商条約).was concluded between U.S. and Japan and opened the port of Kanagawa, but soon the port of Yokohama (横浜), which is close to Kanagawa, opened for the trade with foreign countries in exchange to the port of Kanagawa. The trade based on these treaties began in 1858 at Yokohama, Nagasaki and Hakodate. This is called Kaikoku (開国, to open the nation for foreign countries and trades) in Japanese language. Thanks to Kaikoku, more and more cameras and other photography-related equipment and materials had been imported to Japan. Further some foreign photographers, such as Felix Beato came to Japan and took many photographs of Japan. 
In 1862, Ueno Hikoma (1838–1904, 上野彦馬) opened his photo studio in Nagasaki and Shimooka Renjo (1823–1914, 下岡蓮杖) opened his photo studio in Noge (野毛, soon later included within Yokohama), in the same year, but independently. The open of these two photo studios for portraits indicated the new era of Japanese photography.
After the opening of Ueno Studio and Shimooka Studio, around the turning point between Edo Era and Meiji Era (1868), several new photo studios were opened, such as that of Kuichi Uchida (1844–1875, 内田九一) in 1865 in Osaka and in 1866 moved to Yokohama, that of Yohei Hori (or HORI Masumi, 1826–1880, 堀与兵衛 (堀真澄)) in 1865 in Kyoto, that of Kōkichi Kizu (1830–1895, 木津幸吉) in 1866 in Hakodate, that of Rihei Tomishige (1837–1922, 冨重利平) in Yanagawa, Chikugo in 1866 and that of Yokoyama Matsusaburō (1838–1884, 横山松三郎).
Among these photographers (Shashin-shi, 写真師), Uchida Kuichi is most famous for his photographs of Meiji Emperor (明治天皇) in 1872 and 1873, which photographs have been called Goshin'ei (御真影) and were used as public portraits of Meiji Emperor. "真(shin)" means "true" and "影(ei)" means "(photographic) image" or "portrait" and "御(go)" means honorific prefix for "真影". In Meiji Era, only very limited persons, such as prime ministers, could meet Meiji Emperor in person and most Japanese people in Meiji Era had no chance to see Meiji Emperor. But Meiji Emperor's image was necessary for him to govern Japan and Japanese nations. Therefore, Meiji Government prepared "御真影" and used "御真影" for Emperor's governance and Meiji Government's governance.
As other photographers, Kakoku Shima (1827–1870島霞谷) and Ryū Shima (1823–1899, 島隆) should be mentioned. They were a husband and a wife and began taking photography together around 1863 or 1864, and Ryū Shima was called the first woman professional photographer.
Further, around the 1860s and 1900, Yokohama-shashin (Yokohama Photo, Photographs selling or distributing in Yokohama, 横浜写真) was very popular. Yokohama-shashin was a photograph of Japanese scenery, Japanese people (especially Japanese women) and Japanese cultures and a very widely used souvenir especially for foreign people. Among photographers for Yokohama-shashin, Felix Beato and Kusakabe Kimbei (1841–1934, 日下部金兵衛) were very famous.
Because of Kaikoku, many foreign people came to Japan. Further, after Meiji Ishin (Meiji Government was established in 1868), many Japanese were able to travel within Japan without breaking laws and began to travel within Japan. Yokohama was a suitable place to visit both for foreign people and Japanese people, and Yokohama-shashin attracted such travellers very much.
Two main characteristics of Yokohama-shashin were;
But towards the end of the 19th century, picture post cards, which were much cheaper than Yokohama-shashin, became very popular and were widely used in Japan, and many amateur photographers were emerging, who liked to take pictures by themselves than to buy expensive Yokohama-shashin. These were the major reasons for Yokohama-shashin to decline.
In the 1880s, photographers in a new generation and new types began their activities. Reiji Esaki (1845–1910, 江崎礼二), who took photographs of experimental torpedo explosion in Sumida river in 1883, and Kazuma Ogawa (1860–1929, 小川一眞), who not only took photographs but also was the managers of a printing factory, were particularly famous among them.
In the 1860s and 1870s, many photographs of Hokkaidō were taken, which photographs are called Hokkaidō Kaitaku Shashin (Photographs of Developments in Hokkaidō, 北海道開拓写真). In the 1860s and 1870s, Hokkaidō was under the development by the Japanese Government. The Government in Tokyo needed detailed reports of the development in writing, and they thought reports with photographs should be better and the Government requested some photographers to take photographs of the development in Hokkaidō. Such photographers included Tamoto Kenzō (1832–1912, 田本研造), Kōkichi Ida (1846–1911, 井田侾吉), Raimund von Stillfried-Ratenicz (1839–1911), Seiichi Takebayashi (1842–1908, 武林盛一) and Sakuma Hanzō (1844–1897, 佐久間範造).
Around the middle of the 1880s, photographers (写真師) began to use gelatin dry plates very widely. Before the spread of gelatin dry plates, the wet collodion process (湿式コロジオン法) was ordinary process for photography in Japan and to use this process was very difficult in technical points and also it costs a considerable sum of money. It means almost no amateur photographers can exist without gelatin dry plates.
Two famous examples of earliest amateur photographers in Japan were as follows;
Wide spread of gelatin dry plates and small-sized cameras led to the era of prominent amateur photographers in the 20th century in Japan.
After WWII, there appeared the era of Hōdōshashin (era of photojournalism) again, mainly led by Ken Domon (1909–1990, 土門拳), Ihee Kimura (Ihei Kimura, 1901–1974, 木村伊兵衛) and Yōnosuke Natori (1910–1962, 名取洋之助), all of three were very active even during WWII. Avant-garde photography including surrealism and pictorialism photography had almost disappeared behind photojournalism after WWII because photography other than photojournalism which supported Japanese government and Japanese military powers was completely oppressed by the Japanese government during WWII. It took several years before avant-garde photography came back to the stage of the history of Japanese photography.