In this paper, we prove a trace inequality Tr[f(A)AsBs]≤Tr[f(A)(A1/2BA1/2)s] for any positive and monotone increasing function f, s∈[0,1], and positive semi-definite matrices A and B. On the other hand, for s∈[0,1] such that the map x↦xsg(x) is positive and decreasing, then Tr[g(A)(A1/2BA1/2)s]≤Tr[g(A)AsBs].