The disclosure belongs to the field of aerospace technology, and in particular relates to a method of urination and defecation in space. The method may include: forming a sealed space between a spacesuit below the waist and above the two thighs and the human skin before an astronaut urinates or defecates, and using, by the astronauts, the sealed space to urinate or defecate. The disclosure can confine the excrements in a small sealed space, and the operation thereof is simple, convenient and fast, and no excessive cost is required, and no pollution is caused in the spacesuit and the cabin, facilitating the astronauts' work in space.