Method for producing a sole of a shoe, in particular of a sports shoe, wherein the sole comprises a first and a second sole part (2, 7), wherein the two sole parts (2, 7) adjoining each other on a surface extending in the longitudinal direction of the shoe and in the vertical direction and wherein the two sole parts (2, 7) have sections (12, 13) on their upper side which are arranged adjacent to each other and together form a largely flat surface, comprising the steps: a) Producing of the first sole part in a first mould or mould part by injecting, spraying or pouring the sole material into a mould cavity of the first mould or mould part, wherein a number of volume elements protrude into the mould cavity and create cavities in the first sole part; b) Producing of the second sole part in a second mould or mould part by injecting, spraying or pouring the sole material into a mould cavity of the second mould or mould part, wherein a number of volume elements protrude into the mould cavity and create cavities in the second sole part; c) After the first and second sole parts (2, 7) have solidified: Removing the first and second sole parts (2, 7) from the first and second mould or mould part (3, 8) and placing the first and second sole parts (2, 7) into a third mould, wherein the two sole parts (2, 7) are aligned with each other in such a way that the cavities are at least partially aligned with each other and extend over the entire width of the sole to be produced; d) Overpouring, overspraying and/or overinjecting a joining material over at least one section (12, 13) of the first and second sole parts (2, 7), wherein the sections (12, 13) of the first and second sole part (2, 7) over which the material is overpoured, oversprayed and/or overinjected adjoining each other, in order to join the first and second sole parts (2, 7) to each other. a) Producing of the first sole part in a first mould or mould part by injecting, spraying or pouring the sole material into a mould cavity of the first mould or mould part, wherein a number of volume elements protrude into the mould cavity and create cavities in the first sole part; b) Producing of the second sole part in a second mould or mould part by injecting, spraying or pouring the sole material into a mould cavity of the second mould or mould part, wherein a number of volume elements protrude into the mould cavity and create cavities in the second sole part; c) After the first and second sole parts (2, 7) have solidified: Removing the first and second sole parts (2, 7) from the first and second mould or mould part (3, 8) and placing the first and second sole parts (2, 7) into a third mould, wherein the two sole parts (2, 7) are aligned with each other in such a way that the cavities are at least partially aligned with each other and extend over the entire width of the sole to be produced; d) Overpouring, overspraying and/or overinjecting a joining material over at least one section (12, 13) of the first and second sole parts (2, 7), wherein the sections (12, 13) of the first and second sole part (2, 7) over which the material is overpoured, oversprayed and/or overinjected adjoining each other, in order to join the first and second sole parts (2, 7) to each other.