The invention discloses a preparation method for foamed yarns. The preparation method includes preparation of a main material, preparation of an auxiliary agent, padding treatment and preparation of the foamed yarns. The preparation method has the advantages that polyether polyol, isocyanate and a tin catalyst are mixed to obtain the main material, a mixed solution of the polyether polyol, an amine catalyst, a foaming agent and a foam stabilizer is used as the auxiliary agent, an in-situ polymerization method is applied, the raw materials required for reaction are respectively padded on two yarns, solution mixing is simulated through twisting, uniform and compact polyurethane foam is formed by the yarns from inside to outside, the adhesion of a foam film layer is improved, and accordingly,the foamed yarns with unique appearances are obtained; different base materials can be prepared into fabrics with different shapes according to needs, and accordingly, the plasticity is high; the preparation method is simple, the consumed time is short, the equipment requirements are low, and wide application can be realized.