In this paper, it is proved that the commutator $\mathcal{H}_{β,b}$ which is generated by the $n$-dimensional fractional Hardy operator $\mathcal{H}_β$ and $b\in \dot{Λ}_α(\mathbb{R}^n)$ is bounded from $L^P(\mathbb{R}^n)$ to $L^q(\mathbb{R}^n)$, where $0<α<1,1<p, q<∞$ and $1/p-1/q=(α+β)/n$. Furthermore, the boundedness of $\mathcal{H}_{β,b}$ on the homogenous Herz space $\dot{K}_q^{α,p}(\mathbb{R}^n)$ is obtained.