The present invention relates to an RGB-IR sensor, and a method and an apparatus for obtaining a 3D image by using the same. The RGB-IR sensor according to the present invention comprises: a first pixel basic unit including one of each of R, G, B and IR pixels; and a second pixel basic unit in which the R, G, B and IR pixels are arranged in a different order from those in the first pixel basic unit, wherein the RGB-IR sensor is comprised by alternately arranging the first pixel basic unit and the second pixel basic unit in a horizontal direction, and wherein R, G, B and IR pixel arrangements in the first pixel basic unit and the second pixel basic unit are determined so that the position of IR-pixels in the RGB-IR sensor are not equidistance apart from each other.