We study the ultralight vector dark matter with a mass around $$10^{-23}\,\mathrm {eV}$$10-23eV. The vector field oscillating coherently on galactic scales induces oscillations of the spacetime metric with a frequency around nHz, which is detectable by pulsar timing arrays. We find that the pulsar timing signal due to the vector dark matter has nontrivial angular dependence unlike the scalar dark matter and the maximal amplitude is three times larger than that of the scalar dark matter.