Foreign natural and legal persons, as well as legal entities which are majority owned by foreign legal entities and individuals, may not own agricultural land plots but are entitled to lease them for up to 25 years. In 2016, a moratorium on land privatisation and leasing to foreigners, applicable until 31 December 2021, was introduced. Thus, currently no rights of agricultural land use are granted to foreigners. Land users who had been given such rights before the moratorium was introduced, however, enjoy their rights until the expiry of the land-use period. Additionally, foreign natural and legal persons, as well as legal entities with foreign participation, cannot lease or own agricultural land in the border zone. 
"Article 23. Ownership of land plots of citizens and legal entities
1. Land plots in the state ownership may be granted to the private ownership for citizens and non-state legal entities, with the exception of the land plots which in accordance with this Code may not be in the private ownership.
1-1. Land plots located in the frontier zone of the State Border of the Republic of Kazakhstan are not provided into private ownership or for temporary land use.
The population is allowed to use agricultural land located within the frontier zone of the State Border of the Republic of Kazakhstan for grazing farm animals of own farmsteads and haymaking without the right to erect any buildings (constructions, structures).
2. Private ownership of the citizens of the Republic of Kazakhstan may include the land plots for management of peasant or agrarian economy, personal subsidiary husbandry, forest planting, gardening, personal housing and suburban construction management, as well as granted for building construction or built-up by production and non-production, including residential buildings (constructions, installations) and their complexes, including lands intended for janitorial service (constructions, installations) in accordance with their purposes. [...]
3. Non-state legal entities of the Republic of Kazakhstan may own land plots (to be) provided for agricultural production, afforestation, for development or having production and non-production buildings (constructions, structures), including residential ones, and their complexes, including lands intended for the maintenance of buildings (constructions, structures) in accordance with their intended use.
4. Foreigners, stateless persons and foreign legal entities (non-state ones) may own land plots for the purposes specified in paragraph 3 of this article, except for lands intended for agricultural production and afforestation.
Land plots located in the frontier zone of the State Border of the Republic of Kazakhstan may not be owned by foreigners, stateless persons, citizens of the Republic of Kazakhstan who are married to (are spouses of) foreigners or stateless persons, and also to foreign legal entities and legal entities of the Republic Kazakhstan with foreign participation.[...]
When a foreigner or stateless person, a foreign legal entity, a legal entity of the Republic of Kazakhstan with foreign participation becomes a member (shareholders) of a legal entity of the Republic of Kazakhstan, the ownership of land plots located in the frontier zone and frontier strip of the State Border of the Republic of Kazakhstan shall be subject to re-registration or alienation in accordance with the provisions of Article 66 of this Code.
[...]
Article 24. Property right to agricultural lands
["Note of the RCLI! In accordance with Decree of the President of the Republic of Kazakhstan № 248 as of May 6, 2016, a moratorium to grant private property rights to state-owned agricultural land plots to individuals and legal entities was introduced until December 31, 2021."]
1. Agricultural land plots owned by the state may be provided to citizens and legal entities of the Republic of Kazakhstan without foreign participation on the basis of the land use right in the manner and subject to conditions established by this Code. [...]
["Note of the RCLI! In accordance with Decree of the President of the Republic of Kazakhstan № 248 as of May 6, 2016, a moratorium to grant the right of temporary land use as a lease of agricultural land plots to foreigners, stateless persons, foreign legal entities, and also legal entities with more than fifty percent of the authorized capital belonging to foreigners, stateless persons, foreign legal entities was introduced until December 31, 2021."]
Foreigners, stateless persons, foreign legal entities, as well as legal entities with more than fifty percent of the authorized capital belonging to foreigners, stateless persons, foreign legal entities, may own agricultural land plots only on the basis of the right of temporary land use as a lease up to twenty five years. [...]
6. Agricultural land plots located within the frontier zone of the State Border of the Republic of Kazakhstan may be provided on the basis of the temporary land use right to citizens of the Republic of Kazakhstan, except for citizens of the Republic of Kazakhstan who are married to (are spouses of) foreigners or stateless persons, and legal entities of the Republic of Kazakhstan without foreign participation. [...]
Agricultural land plots located in the frontier zone of the State Border of the Republic of Kazakhstan can not belong to foreigners, stateless persons, as well as foreign legal entities and legal entities of the Republic of Kazakhstan with foreign participation on the basis of land use rights.[...]" (Land Code (No. 442 of 20 June 2003), as amended by Law No. 268-VI of 28.10.2019, Articles 23 and 24 [unofficial translation])
Land Code (No. 442 of 20 June 2003), as amended by Law No. 268-VI of 28.10.2019, Articles 23 and 24
[<a href="https://adilet.zan.kz/rus/docs/K030000442_">Code</a>]