Establishing structure–mechanical property relationships is crucial for understanding and engineering the performance of pharmaceutical molecular crystals. In this study, we employed nanoindentation, a powerful technique that can probe mechanical properties at the nanoscale, to investigate the hardness and elastic modulus of single crystals of succinic acid and L-alanine. Nanoindentation results reveal distinct mechanical behaviors between the two compounds, with L-alanine exhibiting significantly higher hardness and elastic modulus compared to succinic acid. These differences are attributed to the underlying variations in molecular crystal structures − the three-dimensional bonding network and high intermolecular interaction energies of L-alanine molecules leads to its stiffness compared to the layered and weakly bonded crystal structure of succinic acid. Furthermore, the anisotropic nature of succinic acid is reflected in the directional dependence of the mechanical responses where it has been found that the (111) plane is more resistant to indentation than (100). By directly correlating the nanomechanical properties obtained from nanoindentation with the detailed crystal structures, this study provides important insights into how differences in molecular arrangements can translate into different macroscopic mechanical performance. These findings have implications on the selection of molecular crystals for optimized drug manufacturability.