Cell-cell contact between pancreatic b-cells is important for maintaining survival and normal insulin secretion. Various techniques have been developed to promote cell-cell contact between b-cells, but a simple yet robust method that affords precise control over three-dimensional (3D) b-cell cluster size has not been demonstrated. To address this need, we developed a poly(ethylene glycol) (PEG) hydrogel microwell platform using photolithography. This microwell cell-culture platform promotes the formation of 3D b-cell aggregates of defined sizes from 25 to 210 mm in diameter. Using this platform, mouse insulinoma 6 (MIN6) b-cells formed aggregates with cell-cell adherin junctions. These naturally formed cell aggregates with controllable sizes can be removed from the microwells for macroencapsulation, implantation, or other biological assays. When removed and subsequently encapsulated in PEG hydrogels, the aggregated cell clusters demonstrated improved cellular viability ( > 90%) over 7 days in culture, while the b-cells encapsulated as single cells maintained only 20% viability. Aggregated MIN6 cells also exhibited more than fourfold higher insulin secretion in response to a glucose challenge compared with encapsulated single b-cells. Further, the cell aggregates stained positively for E-cadherin, indicative of the formation of cell junctions. Using this hydrogel microwell cell-culture method, viable and functional b-cell aggregates of specific sizes were created, providing a platform from which other biologically relevant questions may be answered.