Agriculture is the foundation of the national economy, and the issue of food security is the cornerstone of national development. Heilongjiang province is China’s largest commercial grain base. How to achieve the sustainable agricultural development of Heilongjiang province under the problem of food security is of great significance. This article takes the five aspects of population system, social system, economic system, resource system, and environmental system, with a total of 29 secondary indicators as the basis for evaluation, the sustainable development and coordination of agriculture in Heilongjiang from 2005 to 2018 were evaluated by using entropy method and coupling degree model. The evaluation results showed that development methods of extensive agriculture greatly increased the grain output of Heilongjiang province from 2005 to 2007, but the level of sustainable agricultural development continued to decline, and there were also threats to the long-term development of food security. Although the sustainable level had been continuously improved since 2007, the whole system is still in the stage of low-level coupling and serious maladjustment. From the results of each subsystem, the coordination degree of population-environment system continues to decline, and the coordination degree of resource-environment system fluctuates in the low-level coordination state, which indicates that there is an obvious development in coordination among subsystems in Heilongjiang province, which restricts comprehensive and coordinated development of agricultural system. Based on the empirical analysis, this article takes Heilongjiang province as an example, and puts forward suggestions for sustainable agricultural development from the perspective of ensuring food security.