A tyre repair machine, comprising a bottle body holding glue, wherein a bottle cap provided at an opening of the bottle body seals the bottle body, wherein a glue guiding tube is provided in the bottle cap; the glue guiding tube comprises a first tube section extending into the bottle body, and a second tube section; one end of the first tube section is provided with a first inlet that enables the glue in the bottle body to enter the first tube section, and the other end of the first tube section forms a closed first tail end; one end of the second tube section is provided with a second inlet that enables the glue in the first tube section to enter the second tube section, and the other end of the second tube section forms a second tail end; the second tail end of the second tube section is in communication with one end of a pipe; the other end of the pipe is provided with a connector for connecting with a damaged tyre so as to direct the glue inside the bottle body into the damaged tyre; the second inlet is located between the first inlet of the first tube section and the first tail end of the first tube section; a flange is provided on an inner wall of the first tube section between the first inlet of the first tube section and the second inlet of the second tube section, and a plug capable of sliding in the first tube section is also provided in the first tube section, characterized in that at least one rib is fixed in the first tube section, wherein the rib is located between the flange and the first tail end, wherein the rib 50 includes a rib portion 51 abutting on the plug, and an abutting portion connected to said rib portion and abutting against the inner walls of the first tube section. a glue guiding tube is provided in the bottle cap; the glue guiding tube comprises a first tube section extending into the bottle body, and a second tube section; one end of the first tube section is provided with a first inlet that enables the glue in the bottle body to enter the first tube section, and the other end of the first tube section forms a closed first tail end; one end of the second tube section is provided with a second inlet that enables the glue in the first tube section to enter the second tube section, and the other end of the second tube section forms a second tail end; the second tail end of the second tube section is in communication with one end of a pipe; the other end of the pipe is provided with a connector for connecting with a damaged tyre so as to direct the glue inside the bottle body into the damaged tyre; the second inlet is located between the first inlet of the first tube section and the first tail end of the first tube section; a flange is provided on an inner wall of the first tube section between the first inlet of the first tube section and the second inlet of the second tube section, and a plug capable of sliding in the first tube section is also provided in the first tube section, characterized in that at least one rib is fixed in the first tube section, wherein the rib is located between the flange and the first tail end, wherein the rib 50 includes a rib portion 51 abutting on the plug, and an abutting portion connected to said rib portion and abutting against the inner walls of the first tube section.