Metal–organic frameworks (MOFs) are promising materials for the removal and photodegradation of pesticides in water. Characteristics such as large surface area, crystalline structure and catalytic properties give MOFs an advantage over other traditional adsorbents. The application of MOFs in environmental remediation is hindered by their ability to only absorb in the UV region. Therefore, combining them with an excellent charge carrier 2D material such as black phosphorus (BP) provides an attractive composite for visible-light-driven degradation of pesticides. In the study, a nanocomposite of black phosphorus and MIL-125(Ti), defined as BpMIL, was prepared using a two-stage hydrothermal and sonication route. The as-prepared composite was characterized using transmission electron microscopy (TEM), scanning electron microscopy (SEM), X-ray diffraction (XRD), X-ray photoelectron spectroscopy (XPS), electrochemical impedance spectroscopy (EIS) and photoluminescence (PL) spectroscopy. These techniques revealed that the circular and sheet-like morphology of the nanocomposites had minimum charge recombination, allowing them to be effective photocatalysts. Furthermore, the photocatalysts exhibited extended productive utilization of the solar spectrum with inhibited recombination rate and could be applied in visible-light-driven water treatment. The photodegradation of diazinon in water was studied using a series of BpMIL (4%, 6% and 12% by mass) nanocomposites as a photocatalyst. The optimal composite was determined to be 4%BpMIL. The degradation parameters were optimized and these included photocatalyst dosage, initial diazinon concentration and pH of the solution. The optimal conditions for the removal and degradation of diazinon were: neutral pH, [diazinon] = 20 mg/L, photocatalyst dosage = 0.5 g/L, achieving 96% removal of the pesticide after 30 min with 4%BpMIL, while MIL-125(Ti) showed 40% removal. The improved photodegradation efficiency of the 4%BpMIL composite was attributed to Ti3+-Ti4+ intervalence electron transfer and the synergistic effect between MIL-125(Ti) and BP. The photodegradation followed pseudo-first-order kinetics with a rate constant of 1.6 × 10−2 min−1.