Within the framework of Dyson--Schwinger equations of QCD, we study the effect of finite volume on the chiral phase transition in a sphere with the MIT boundary condition. We find that the chiral quark condensate $langlebar{psi} psirangle$ and pseudotransition temperature $T_{pc}$ of the crossover decreases as the volume decreases, until there is no chiral crossover transition at last. We find that the system for $R = infty $ fm is indistinguishable from $R=10$ fm and there is a significant decrease in $T_{pc}$ with $R$ as $R<4$ fm. When $R<1.5$ fm, there is no chiral transition in the system.