Brushing your teeth with toothpaste does not break a fast, as long as you are not swallowing the toothpaste. Andrew Huberman clarified that the act of brushing teeth itself, without ingesting the toothpaste, will not affect your fasting state 1.