It is not always necessary to use an extension cord. But you can probably use an extension cord if it can handle the current draw of the treadmill.