A fiber-optic sensor is designed based on multicavity Fabry-Perot interferometry for the study of optical thickness in self-assembled thin-film layers. This miniature sensor is applicable not only to the measurement of self-assembled polyelectrolyte layers but also to the immobilization of proteins such as immunoglobulin G (IgG). The binding of IgG and the corresponding antigen is observed, and the nonspecific binding characteristics are investigated. The optical thickness changes are used to evaluate the immobilization of the IgG and the immunological activities of the immobilized layers.