We studied the use of nanopatterned hydrogels as a possible foundation for medical devices for the detection of Staphylococcus aureus. Nanopatterned hydrogels, approximately 200 nm in diameter, were created by locally crosslinking dry amine-terminated poly(ethylene glycol) [PEG] (6000 Da) thin films using a focused electron beam. These gels then had a dry height of 50 nm and a swell ratio of about five. They were patterned into arrays with approximately 500 nm inter-gel spacing. These arrayed gels were functionalized with Immunoglobulin G [IgG], a biomolecule that binds protein A. We are interested in seeing whether these arrayed gels can be used for bacterial capture and subsequent detection. We show, using an assay that binds IgG to protein A expressing Staphylococcus aureus [S. aureus], that nanopatterned hydrogels can indeed be used as probes for detection. We further show that the specificity of our assay by using a knock-out variant of S. aureus that doesn't express protein A as a negative control.