One of the important literary genres that enriched Persian poetry is the expression of ethical issues in prose poems and anecdotes. In fact, there are fewer poets and writers in ancient Persian literature that have no educational interest. This approach has occurred in the first poems of the third and fourth centuries, as the martyr Balkhi, in a poetry known as the first Persian sonnets, approaches to indirect advice. The poems of the fourth and fifth centuries, although are more lyrical and descriptive, have not left the educational and advisory figures. In the transition of Persian verse from the fourth and fifth centuries to the sixth and seventh centuries, due to the prevalence of heavenly thoughts and attitudes and the mysticism, the main topics in the educational literature also changed, so that, based on the present study, in addition to preserving the common advices of the previous centuries, new educational ideas were added to the educational attitudes towards Persian-language teaching poetry. In this article, through the study of the most of these poems of these centuries, the educational literature of these two periods (Khorasani style ® Iraqi style) has been taken into account and compared. The result is that the educational poetry, with the advent of mysticism and Sufism, becomes richer and reaches the heavenly and new attitudes, and in this way, the quantity and quality of advices and teaching the ethics grows.