ABSTRACT Accurate astrometric and photometric measurements from Gaia have led to the construction of 3D dust extinction maps which can now be used for estimating the integrated extinctions of Galactic sources located within 5 kpc. These maps based on optical observations may not be reliable for use in the ultraviolet (UV) which is more sensitive to reddening. Past studies have focussed on studying UV extinction using main-sequence stars but lack comparison with 3D dust maps. White dwarfs with well-modelled hydrogen-dominated (DA) atmospheres provide an advantage over main-sequence stars affected by magnetic activity. In this work, we study the variation of UV extinction with 3D dust maps utilizing Hubble Space Telescope (HST) and Galaxy Evolution Explorer (GALEX) observations of DA white dwarfs located within 300 pc. We used HST COS spectroscopic data of 76 sightlines to calculate the optical extinction from Si ii column densities and validate our results with the kinematic model predictions of the local interstellar medium. Also, we combined GALEX and Gaia photometric observations of 1158 DA white dwarfs to study UV reddening by comparing observed and modelled colour–colour relations. We calculated GALEX non-linearity corrections and derived reddening coefficients [$R(NUV-G)=6.52\pm 1.53$ and $R(FUV-G)=6.04\pm 2.41$] considering their variations with optical extinction ($\rm{A_{V}}\lt 0.1$ mag), and found them to be in good agreement with known extinction laws. HST analysis suggests a positive bias of 0.01–0.02 mag in the optical extinction from 3D maps depending on the Galactic latitude. These results independently confirm the validity of 3D dust maps to de-redden the optical and UV observations of white dwarfs.