Nanoporous gold wire arrays were fabricated by a simple and straightforward template-free method from ionic liquid. The electrodeposition of AuZn nanowires was coupled with the galvanic metal displacement of the zinc in the wires by gold, creating the final nanoporous gold wire arrays.