Down to the wire
Meaning: until the last moment that it is possible to do something
Example: Some students write their best research papers if they wait until the night before they are due. They leave them until they are down to the wire. I think the election will go right down to the wire (= be won at the last moment).
See also: eleventh hour and in the nick of time
Example: Some students write their best research papers if they wait until the night before they are due. They leave them until they are down to the wire. I think the election will go right down to the wire (= be won at the last moment).
See also: eleventh hour and in the nick of time