A theorem is proved concerning the diagonalizability of a matrix over a differential field by means of a similarity transfOrmation from the field of constants of the differential field. This result contains, as a special case, known results concerning the diagonalizability over the complex numbers of a Hermitian matrix of analytic function, under the hypothesis that the matrix commutes with its derivative.