The invention relates to producing medicinal agents for treating diabetes. There is proposed a method for producing a pharmaceutical composition containing insulin on a polysaccharide carrier, which involves mixing initial ingredients, wherein there is provided, for mixing, supplying positively charged chitosan sol with pH of 3.5 to 4.5 and negatively charged zinc free insulin, which is taken in the form of a colloidal solution or in the form of nanosized crystalline particles, bringing the pH of the mixed sol to a value of 5.5 to 6.5, producing a gel and dehydrating the produced gel to obtain solid particles, the size of which ranges from 10 to 100 mkm. The method makes it possible to produce a stable controlled release insulin-containing composition for peroral administration