By these stats - Biden had the most deaths per year (Border patrol and Ice detention stats)! But the least if you only want to consider ICE detention.
(Interesting that you included until September 2017 when Obama was out of office in Jan 20 2017. - Answer: Obviously the stats are only done by the year- Notice Trumps highest death year was majority Biden. Biden least deaths was 2025 and shared with Trump

).
Since you asked:
TRUMP:
During Donald Trump's presidencies (first term: January 20, 2017, to January 20, 2021; second term: January 20, 2025, to present), U.S. Border Patrol reported the following migrant deaths along the southwest border, often attributed to enforcement policies such as border security measures that channel crossings into hazardous terrains:
### First Term (2017-2021)
- FY 2017: 298
- FY 2018: 281
- FY 2019: 300
- FY 2020: 254
- FY 2021: 568 (partial, as FY 2021 ended in September 2021)
Total: 1,701.
For deaths in ICE custody during the same period (calendar years 2017-2021), official records indicate 52 deaths. These include incidents involving medical neglect, suicides, and other causes in immigration detention.
### Second Term (2025-present)
With significantly reduced border crossings due to stricter enforcement, migrant deaths have dropped sharply. For FY 2025 (October 2024-September 2025, partial under Trump from January onward): 35 deaths.
For deaths in ICE custody in calendar year 2025: 32 deaths.
This marks a high for recent years, amid increased detentions. Data for 2026 is incomplete as of January 2026.
BIDEN:
During Joe Biden's presidency (January 20, 2021, to January 20, 2025; note that he served one term, not two), U.S. Border Patrol reported the following migrant deaths along the southwest border, often attributed to enforcement policies like border security measures that push crossings into more dangerous areas:
- FY 2021: 568
- FY 2022: 853
- FY 2023: 686
- FY 2024: 533
- FY 2025: 35 (partial, up to January 2025)
Total: 2,675.
For deaths in ICE custody during the same period, official records show 26 deaths. This includes cases of medical neglect, suicides, and other causes while detained under immigration policies.