An optical filter based on side coupling between silicon wire waveguide and two-dimensional photonic crystal surface-mode cavity is presented. The design is optimized numerically by parallel three-dimensional finite-different time-domain simulations. The device is then fabricated on amorphous silicon-on-silica structure. The drop wavelength is observed around 1580 nm. The extinction ratio of the filter is larger than 10 dB and the intrinsic quality factor of the surface-mode cavity is approximately 2000.