In the rapidly evolving Internet of Things (IoT) society, the demand for microbatteries with high areal energy density is surging. As a promising strategy to enhance areal energy density, threedimensional (3D) batteries have attracted attention. The feature of 3D batteries is the decoupling of the electrode thickness from the iontransport distance through the modification of the spatial arrangement of the positive and negative electrodes beyond the conventional parallel plates configuration. This allows for the accommodation of a larger amount of active materials without increasing internal resistance. However, identifying the optimal 3D geometry is a complex task, as it depends on printable materials, the resolution of the fabrication equipment, as well as battery usage, which constitutes a multiobjective optimization problem. To overcome this challenge, we propose a novel approach to determine the optimal 3D microbattery geometry. Our innovative method involves a 3D battery optimization system, which integrates an automatic geometry generator with a quick and accurate performance simulator. This approach allows, for the first time, the discovery of material-and dischargecurrent-dependent optimal geometries. We successfully apply this optimization scheme to two standard electrode pairs (LiFePO 4 / Li 4 Ti 5 O 12 and LiNi 0.5 Mn 0.3 Co 0.2 O 2 /graphite), demonstrating a significant increase in energy density (30%−40% greater than the current state-of-the-art geometry), particularly under high current conditions. These findings underscore the importance of tailormade batteries for diverse IoT applications and showcase the potential of our approach in realizing such designs.