Black phosphorus (BP), as a representative metal-free semiconductor, has been extensively explored. It has a higher drug loading capacity in comparison to conventional materials and also possesses excellent biocompatibility and biodegradability. Furthermore, BP nanosheets can enhance the permeability of the blood-brain barrier (BBB) upon near-infrared (NIR) irradiation, owing to their photothermal effect. However, the inherent instability of BP poses a significant limitation, highlighting the importance of surface modification to enhance its stability. Ischemic stroke (IS) is caused by the occlusion of blood vessels, and its treatment is challenging due to the hindrance caused by the BBB. Therefore, there is an urgent need to identify improved methods for bypassing the BBB for more efficient IS treatment. This research devised a novel drug delivery approach based on pterostilbene (Pte) supported by BP nanosheets, modified with polydopamine (PDA) to form BP-Pte@PDA. This system shows robust stability and traverses the BBB using effective photothermal mechanisms. This enables the release of Pte upon pH and NIR stimuli, offering potential therapeutic advantages for treating IS. In a middle cerebral artery occlusion (MCAO) mouse model, the BP-Pte@PDA delivery system significantly reduced infarct size, and brain water content, improved neurological deficits, reduced the TLR4 inflammatory factor expression, and inhibited cell apoptosis. In summary, the drug delivery system fabricated in this study thus demonstrated good stability, therapeutic efficacy, and biocompatibility, rendering it suitable for clinical application.