A novel potentiometric immunosensor for the detection of hepatitis B surface antigen has been developed by means of self-assembly to immobilize hepatitis B surface antibody on a platinum disk electrode based on gold nanoparticles, Nafion, and gelatin as matrices in this study. The modification procedure of the immunosensor was further characterized by using cyclic voltammetry and the enzyme-linked immunosorbent assay (ELISA) method. The detection is based on the change in the electric potential before and after the antigen-antibody reaction. In contrast to the commonly applied methods (e.g., the glutaraldehyde crosslinking procedure), this strategy could allow for antibodies immobilized with a higher loading amount and better retained immunoactivity, as demonstrated by the potentiometric measurements. A dynamic concentration range of 4-800 ng ml(-1) and a detection limit of 1.3 ng ml(-1) were observed. Analytical results of several human serum samples obtained using the developing technique are in satisfactory agreement with those given by ELISA. In addition, the technique presents some distinct advantages over the traditional sandwich format in that the analyzing performances are direct, rapid, and simple without multiple separation and labeling steps.