Mirabegron, commonly known as "Myrbetriq", has been widely prescribed as a medicine for overactive bladder syndrome for over a decade. However, the structure of the drug and what conformational changes it may undergo upon binding its receptor remain unknown. In this study, we employed microcrystal electron diffraction (MicroED) to reveal its elusive three-dimensional (3D) structure. We find that the drug adopts two distinct conformational states (conformers) within the asymmetric unit. Analysis of hydrogen bonding and packing demonstrated that the hydrophilic groups were embedded within the crystal lattice, resulting in a hydrophobic surface and low water solubility. Structural comparison revealed the presence oftrans- andcis- forms in conformers1and2, respectively. Comparison of the structures of Mirabegron alone with that of the drug bound to its receptor,1the beta 3 adrenergic receptor (β3AR) suggests that the drug undergoes major conformational change to fit in the receptor agonist binding site. This research highlights the efficacy of MicroED in determining the unknown and polymorphic structures of active pharmaceutical ingredients (APIs) directly from powders.