According to one embodiment, an X-ray diagnostic apparatus includes a support frame, an input button, and processing circuitry. The support frame supports an X-ray detector which detects X-rays. The input button provides on at least one of an exterior of the support frame and an exterior of the X-ray detector and inputs an instruction to implement an assigned moving operation pattern of a plurality of moving operation patterns concerning movement of at least one of the support frame, the X-ray detector, and a table top. The processing circuitry assigns the input button with an instruction to implement a moving operation pattern, of the plurality of moving operation patterns, which is selected by an operator.