The article explores the mechanisms and problems of planning and accounting for the costs of performing scientific research and development work under the state defense order, operating in the Russian Federation. The regulatory and legal framework regulating the formation and placement of the state defense order for the production of scientific and technical products is generalized and systematized. The features of this type of work and possible ways of overcoming the shortcomings of existing mechanisms are revealed.