The defects in metal-organic frameworks (MOFs) can dramatically alter their pore structure and chemical properties. However, it has been a great challenge to characterize the molecular structure of defects, especially when the defects are distributed irregularly in the lattice. In this work, we applied a characterization strategy based on solid-state nuclear magnetic resonance (NMR) to assess the chemistry of defects. This strategy takes advantage of the coordination-sensitive phosphorus probe molecules, e.g., trimethylphosphine (TMP) and trimethylphosphine oxide (TMPO), that can distinguish the subtle differences in the acidity of defects. A variety of local chemical environments have been identified in defective and ideal MOF lattices. The geometric dimension of defects can also be evaluated by using the homologs of probe molecules with different sizes. In addition, our method provides a reliable way to quantify the density of defect sites, which comes together with the molecular details of local pore environments. The comprehensive solid-state NMR strategy can be of great value for a better understanding of MOF structures and for guiding the design of MOFs with desired catalytic or adsorption properties.