The museum spreads across the three neighbouring buildings at numbers 263 to 267 and opened on 3 May 1960.

The house at number 263 and its neighbour at 265 were built by Dirk van Delft in 1635, and the front facing the canal dates from a renovation in 1740. After two centuries as a home it became a warehouse, where the front section with its wide doors served as a stable for horses. On 1 December 1940 Otto Frank, Anne's father, moved the offices of the companies he worked for, Opekta and Pectacon, here from the Singel canal. Spices were milled and goods packed on the ground floor, while his employees, among them Miep Gies, Bep Voskuijl, Johannes Kleiman and Victor Kugler, worked in the offices above.

The annex at the back could not be seen from the street, since houses closed in the courtyard around it. Otto Frank, his wife Edith, their daughters Margot and Anne, and four others lived there for two years and one month, in rooms with only about 42 square metres of living space; Anne still wrote that it was comfortable compared with other hiding places they had heard of. The group was raided and arrested, and all were deported to the camps; only Otto Frank survived. Before the rooms were emptied, Miep Gies and Bep Voskuijl went back against police orders and saved papers that would become the diary. Otto Frank published it in Dutch in 1947 as Het Achterhuis, the title Anne herself had picked; the English translation called the hiding place the Secret Annex.

Soon after the book appeared, the company's staff began showing visitors the hiding place. In 1955 a clothing firm that had bought the row planned to pull it down, and a campaign launched by the newspaper Het Vrije Volk and protests outside the building stopped the demolition. The Anne Frank Foundation, led by Otto Frank, was founded on 3 May 1957; the firm donated the building to it that October, and the foundation bought the house at 265 as well before the rest of the block was demolished.

Visitors move through the preserved annex at the rear of number 263, while the other buildings hold a permanent exhibition on Anne Frank's life and times and a space on persecution and discrimination in all its forms. A newer building on the corner of the Prinsengracht and the Westermarkt, part of a restructuring that began in 1999, holds the entrance, ticket desk and café. Among the objects on display is the Academy Award that Shelley Winters received for her role as Petronella van Daan in The Diary of Anne Frank, a film of 1959, and later handed over to the museum. A virtual tour, first released on CD-ROM and later in 3-D, lets people see the rooms in advance, including parts of the annex closed to visitors.