Presently, the improvement of soil organic matter is the basis to ensure food security, but the accumulation and transformation characteristics of soil phosphorus (P) as affected by organic matter remain unclear. The accumulation, transformation, and migration characteristics of soil P in different soil layers of vegetable fields were researched under the application of organic materials. Six treatments were set up in the experiment:control (no fertilization), traditional fertilizer application by farmers, biochar, chicken manure, food waste, and straw application. Available phosphorus (Olsen-P), water-soluble phosphorus (CaCl2-P) content, soil phosphorus forms, soil organic matter (SOM), and pH were determined during the pepper harvest period. In the 0-5 cm and 5-10 cm soil layers, the available phosphorus content of traditional fertilization of farmers was higher, and the available phosphorus content of the four organic materials was in the order of straw > biochar > chicken manure > food waste. Compared to that with food waste, the straw and biochar treatments increased soil available phosphorus by 59.6%-67.3% and 29.1%-36.9%, respectively. The straw treatment could easily enhance the soil labile P pool, and soil labile P in the 0-5 cm soil layer increased by 47.3% and 35.1% compared with that under the chicken manure and food waste treatments, respectively. With the increase in soil depth, the proportion of available phosphorus in the chicken manure treatment decreased the least, and available phosphorus of the 20-30 cm soil layer accounted for 55.9% of the topsoil layer but only accounted for 16.0%-34.0% under treatment with the other three materials. Compared with that under the traditional fertilization of farmers, the pH significantly increased by 0.18-0.36 units after the application of organic fertilizer, and the pH of the chicken manure and food waste treatments was significantly higher than that of biochar and straw (P < 0.05). SOM content under the biochar treatment significantly increased by 7.7%-17.6% compared to that under the other three organic materials. Among the four organic materials, the straw treatment boosted the labile P pool the most, which was conducive to the rapid increase in plant-available P. Phosphorus was most likely to migrate downward under the chicken manure treatment. In the field management based on soil fertility enhancement, the application of biochar could not only improve soil pH and SOM but also avoid excessive accumulation of phosphorus in the surface layer, which decreases environmental risks.