This study aims to analyze factors influencing shallot production and the allocative efficiency of shallot farming in Pati Regency Central Java. Based on data from the association of farmer groups (Gapoktan), there were 12 farmer groups. Using multistage random sampling, four farmer groups and 73 farmers were taken as samples. Data were obtained using interviews and questionnaires. Then, the data were analyzed using the Cobb-Douglass production function and efficiency analysis. The results revealed that factors of land area, seeds, KNO3 fertilizer, and family labor significantly possitive affected shallot production. In general, all of the production factors have not been allocatively efficient. To enhance efficiency, farmers should increase the use of production inputs such as land, seeds, fertilizers, and labor.