A hydroponic container comprises: at least one cultivation board (1) and multiple cultivation cups (3) for placement of plants. The cultivation board (1) has an elongated recess (2) for placement of the cultivation cups (3). The cultivation cup (3) is capable of moving horizontally in the elongated recess (2). At an initial growth stage of plants, an interval between the plants can be reduced by moving the cultivation cups (3) in the elongated recess (2), thereby increasing utilization of a cultivation space in the hydroponic container. When the plants are growing, the interval between the plants can be enlarged by moving the cultivation cups (3) to adapt to growth of the plants, thereby ensuring normal growth of the plants, and accordingly increasing productivity.