X-ray imaging apparatus and method, in which, first, a connection state is detected (S1). Next, a determination is made as to whether a connection is made via a dedicated line (S2). If it is determined that the connection is not made via a dedicated line, image accumulation time is calculated (S4). Then, after drive timing is changed (S5), an imaging operation is started (S3).