A media conveying apparatus (50, 60), comprising: a pair of first defining members (52a, 52b) defining an upstream part of a conveyance path in a conveyance direction; a pair of second defining members (62a, 62b) defining a downstream part of the conveyance path in the conveyance direction; a first conveyor to convey a medium in the upstream part defined by the pair of first defining members (52a, 52b) in the conveyance direction; a second conveyor (65, 66) to convey the medium in the downstream part defined by the pair of second defining members (62a, 62b) in the conveyance direction; and a tray disposed downstream from the pair of second defining members (62a, 62b) in the conveyance direction, the tray to stack the medium ejected from the conveyance path, wherein the pair of first defining members (52a, 52b) and the pair of second defining members (62a, 62b) are movable relative to each other in the conveyance direction to lengthen and shorten the conveyance path including the upstream part and the downstream part characterized by: a first conveyance unit including a first housing that houses the pair of first defining members (52a, 52b) and the first conveyor; and a second conveyance unit including a second housing that houses the pair of second defining members (62a, 62b), and the second conveyor (65, 66), the second housing having an outer wall that supports the tray, wherein the conveyance path is shortened as the first housing enters the second housing. a pair of first defining members (52a, 52b) defining an upstream part of a conveyance path in a conveyance direction; a pair of second defining members (62a, 62b) defining a downstream part of the conveyance path in the conveyance direction; a first conveyor to convey a medium in the upstream part defined by the pair of first defining members (52a, 52b) in the conveyance direction; a second conveyor (65, 66) to convey the medium in the downstream part defined by the pair of second defining members (62a, 62b) in the conveyance direction; and a tray disposed downstream from the pair of second defining members (62a, 62b) in the conveyance direction, the tray to stack the medium ejected from the conveyance path, wherein the pair of first defining members (52a, 52b) and the pair of second defining members (62a, 62b) are movable relative to each other in the conveyance direction to lengthen and shorten the conveyance path including the upstream part and the downstream part characterized by: a first conveyance unit including a first housing that houses the pair of first defining members (52a, 52b) and the first conveyor; and a second conveyance unit including a second housing that houses the pair of second defining members (62a, 62b), and the second conveyor (65, 66), the second housing having an outer wall that supports the tray, wherein the conveyance path is shortened as the first housing enters the second housing. a first conveyance unit including a first housing that houses the pair of first defining members (52a, 52b) and the first conveyor; and a second conveyance unit including a second housing that houses the pair of second defining members (62a, 62b), and the second conveyor (65, 66), the second housing having an outer wall that supports the tray, wherein the conveyance path is shortened as the first housing enters the second housing.