United Nations, regional and domestic counterterrorism measures have generated a cascade of adverse effects for impartial humanitarian activities in areas where designated groups are present. Certain humanitarian activities, diverted supplies and incidental payments can fall foul of broadly worded counterterrorism regulation proscribing or criminalizing financial and other support to designated groups. Donors to humanitarian organizations set strict conditions and financial institutions decline transactions, hampering impartial humanitarian activities in the very instances in which international humanitarian law (IHL) requires that they be allowed. Recognizing this, United Nations Security Council (UNSC) resolutions 2462 and 2482 adopted in 2019 have spelled out more explicitly than ever before the need for counterterrorism measures to comply with IHL and safeguard impartial humanitarian action in line with IHL. This article sets out those IHL obligations that govern humanitarian and medical activities and the types of safeguards that States have put in place to ensure their counterterrorism measures comply with IHL and allow for these activities. The UNSC's latest steer in resolutions 2462 and 2482 provides a foundation for States’ exclusion of impartial humanitarian and medical activities from the scope of application of their counterterrorism measures. This can be an effective way of averting adverse consequences for these activities where designated entities are present.