President Samia Suluhu Hassan was sworn in for a second term at a closed-door ceremony held at a military base in Dodoma.
She praised the country's electoral body, stating the election was "peaceful, fair, and efficient".
She dismissed criticism from regional and international observer missions as "external interference".
The ceremony was held under tight security.
Author's summary: President sworn in amidst criticism.