In-cell protein crystallization (ICPC) has attracted attention as a next-generation structural biology tool because it does not require multistep purification processes and large-scale crystallization screenings. However, significant issues remain to be solved in context of obtaining various protein crystals in sufficient amounts and quality for structure determination by ICPC. Here, we report the development of cell-free protein crystallization (CFPC), a direct protein crystallization technique which uses cell-free protein synthesis. The most crucial advantages of CFPC are that the reaction scale and time can be minimized and that various reagents can be added during the reaction. We obtained high-quality nano-sized polyhedra crystals, which are produced in insect cells by infection with cytoplasmic polyhedrosis virus, at a 200 microliter reaction scale within 6 h. We applied this technology to structure determination of crystalline inclusion protein A (CipA) by suppressing twin crystal formation with addition of an inhibitor to the reaction solution. We succeeded in determining a 2.11 angstrom resolution structure from the nanocrystals of CipA. This technology, which integrates in-cell and in vitro crystallizations significantly expands the tools available for high throughput protein structure determination, particularly in context of unstable, low-yield, or substrate-binding proteins, which are difficult to analyze by conventional methods.