We study the Wilson loops in three-dimensional QFT from the D-branes in the AdS4×CP3 geometry. We find explicit D-brane configurations in the bulk which correspond to both straight and circular Wilson lines extended to the boundary of AdS4. We analyze critically the role of boundary contributions to the D2-branes with various topology and fundamental string actions.