Cell culture is an essential tool in drug discovery, tissue engineering and stem cell research. Conventional tissue culture produces two-dimensional cell growth with gene expression, signalling and morphology that can be different from those found in vivo, and this compromises its clinical relevance. Here, we report a three-dimensional tissue culture based on magnetic levitation of cells in the presence of a hydrogel consisting of gold, magnetic iron oxide nanoparticles and filamentous bacteriophage. By spatially controlling the magnetic field, the geometry of the cell mass can be manipulated, and multicellular clustering of different cell types in co-culture can be achieved. Magnetically levitated human glioblastoma cells showed similar protein expression profiles to those observed in human tumour xenografts. Taken together, these results indicate that levitated three-dimensional culture with magnetized phage-based hydrogels more closely recapitulates in vivo protein expression and may be more feasible for long-term multicellular studies.