Optical immunosensor for label-free detection of ochatoxin A in beer. The sensor consists of ten integrated on silicon Mach-Zehnder interferometers. Ochratoxin A is determined following a competitive immunoassay format. The assay could be employed for ochatoxin A determination in different beer types.