In the Name of Allah, the Most Gracious, the Most Merciful.
As-Salāmu ‘Alaykum Wa-Rahmatullāhi Wa-Barakātuh.
Brushing teeth in itself will not nullify the fast as nothing is ingested but tasted. Accordingly, it will be makrooh to use toothpaste and should be avoided. One should use a miswāk instead.
If any of the toothpaste is ingested during the process of brushing, the fast will break. There is qadhā due but no kaffārah.[1]
And Allah Ta’ala Knows Best.
Arib Raza
Student Darul Iftaa
New York, U.S.A
Checked and Approved by,
Mufti Muhammad Zakariyya Desai.
https://iftaa.co.za/7885/using-toothpaste-whilst-fasting/