A transport device that transports a long medium so as to send the medium to the downstream side in a transport direction by rotation of a shaft member with the long medium wound thereon in a roll form, the transport device comprising: a sending roller that is disposed further to the downstream side in the transport direction than a housing section for the medium wound in a roll form on the shaft member and sends the medium to the downstream side in the transport direction; a driving section (21, 24) that generates driving force for rotating the shaft member and the sending roller; a detection section that detects a deflection amount of the medium between the shaft member and the sending roller in the transport direction; and a control section that controls, at the time of transporting the medium to the downstream side in the transport direction, the driving section (21, 24) such that the deflection amount of the medium which is detected by the detection section becomes equal to or greater than the preset reference amount, wherein in a case where the driving section (21, 24) is driven so as to transport the medium to the downstream side in the transport direction, the control section performs prescribed processing that is different from when the deflection amount becomes equal to or greater than the reference amount and it is determined that the remaining amount of the medium in the housing section is sufficient whereby the terminus of the medium on the shaft is not separated from the shaft member in a case where the deflection amount of the medium which is detected by the detection section does not become equal to or greater than the reference amount, and it is determined that the remaining amount of the medium in the housing section has become small whereby the terminus of the medium on the shaft is separated from the shaft member. a sending roller that is disposed further to the downstream side in the transport direction than a housing section for the medium wound in a roll form on the shaft member and sends the medium to the downstream side in the transport direction; a driving section (21, 24) that generates driving force for rotating the shaft member and the sending roller; a detection section that detects a deflection amount of the medium between the shaft member and the sending roller in the transport direction; and a control section that controls, at the time of transporting the medium to the downstream side in the transport direction, the driving section (21, 24) such that the deflection amount of the medium which is detected by the detection section becomes equal to or greater than the preset reference amount, wherein in a case where the driving section (21, 24) is driven so as to transport the medium to the downstream side in the transport direction, the control section performs prescribed processing that is different from when the deflection amount becomes equal to or greater than the reference amount and it is determined that the remaining amount of the medium in the housing section is sufficient whereby the terminus of the medium on the shaft is not separated from the shaft member in a case where the deflection amount of the medium which is detected by the detection section does not become equal to or greater than the reference amount, and it is determined that the remaining amount of the medium in the housing section has become small whereby the terminus of the medium on the shaft is separated from the shaft member.