We present a deep adaptive sampling method for solving PDEs where deep neural networks are utilized to approximate the solutions. More precisely, we propose the failure informed adaptive sampling for PINNs and an adaptive important sampling scheme for deep Ritz. Both approaches can adaptively refine the training set with the goal of reducing the failure probability. Applications to both forward and inverse PDEs problems will be presented.