For traditional agricultural product traceability system, there are some problems, such as information asymmetry and serious centralized storage. To solve the problems, a set of an agricultural product traceability information analysis system based on blockchain is designed. The overall framework of the agricultural product information traceability system is built, and the traceability model and process are designed in detail from the data layer, consensus layer, and contract layer. Collaborative verification function modules are added in the data layer to ensure the authenticity of data on the blockchain. The integral penalty mechanism is introduced to improve the practical Byzantine fault tolerance algorithm (PBFT), which ensures the security of the block network and the validity of data. Smart contracts are adopted to ensure that changes in agricultural information are actually recorded on blockchain. The results show that the designed blockchain-based agricultural product information traceability system solves the problem of difficult sharing and traceability of agricultural product information, which realizes the traceability of agricultural product production information, processing information, transportation information, and transaction query information, and has certain theoretical and practical value for the information traceability of agricultural products and other products.