The properties of rechargeable lithium-ion batteries are determined by the electrochemical and kinetic properties of their constituent materials as well as by their underlying microstructure. In this paper a method is developed that uses microscopic information and constitutive material properties to calculate the response of rechargeable batteries. The method is implemented in OOF, a public domain finite element code, so it can be applied to arbitrary two-dimensional microstructures with crystallographic anisotropy. This methodology can be used as a design tool for creating improved electrode microstructures. Several geometrical two-dimensional arrangements of particles of active material are explored to improve electrode utilization, power density, and reliability of the Li y C 6 ͉Li x Mn 2 O 4 battery system. The analysis suggests battery performance could be improved by controlling the transport paths to the back of the positive porous electrode, maximizing the surface area for intercalating lithium ions, and carefully controlling the spatial distribution and particle size of active material. Important advances in materials have paved the way to the introduction of new devices of ever-increasing functionality. 1 In many cases, however, the full potential of these devices remains unreachable due to limitations of the batteries that power them. These limitations find their origin on the constituents of the battery: the different ohmic contributions, the low diffusivity of the involved charged species, the underlying oxidation-reduction processes, etc. Thus, battery technology improvement is critical to the development of many electric-based applications.In this context, modeling the galvanostatic cycling of a rechargeable battery provides valuable insight into optimizing the performance of the device. Furthermore, an analysis that simultaneously resolves the microstructural details and includes the nonlinearities and history from successive charge-discharge cycles will be useful for improving cell design.The discharging and recharging process involves electronic and ionic flow and their spatial relationships to conductivity in multiple phases as well as interfacial contact potential. Stress distributions that arise due to concentration-induced strains and resistive heating affect battery performance and reliability. Fundamentally, these processes depend on the structure, size, and spatial distribution of electrolyte and active material phases. The incorporation of microstructure into battery models can provide design criteria for improved battery performance. In this paper, a two-dimensional microstructural model for battery discharge is presented and accounts for geometry, connectivity, electrochemical properties of the component phases as well as elastic stresses that develop during battery use. The model presented in this paper links previously developed models for the homogeneous behavior of individual battery components and interfaces. The models are coupled together in a way that geometrically and physica...