The unique structural motifs and self-recognition properties of DNA can be exploited to generate self-assembling DNA nanostructures of specific shapes using a 'bottom-up' approach. Several assembly strategies have been developed for building complex three-dimensional (3D) DNA nanostructures. Recently, the DNA 'origami' method was used to build two-dimensional addressable DNA structures of arbitrary shape that can be used as platforms to arrange nanomaterials with high precision and specificity. A long-term goal of this field has been to construct fully addressable 3D DNA nanostructures. Here we extend the DNA origami method into three dimensions by creating an addressable DNA box 42 x 36 x 36 nm(3) in size that can be opened in the presence of externally supplied DNA 'keys'. We thoroughly characterize the structure of this DNA box using cryogenic transmission electron microscopy, small-angle X-ray scattering and atomic force microscopy, and use fluorescence resonance energy transfer to optically monitor the opening of the lid. Controlled access to the interior compartment of this DNA nanocontainer could yield several interesting applications, for example as a logic sensor for multiple-sequence signals or for the controlled release of nanocargos.