Pancreatic cancer is one of the deadliest cancers, with a 5-year survival rate of <10%. The current approach to confirming a tissue diagnosis, endoscopic ultrasound-guided fine-needle aspiration (EUS-FNA), requires a time-consuming, qualitative cytology analysis and may be limited because of sampling error. We designed and engineered a miniaturized optoelectronic sensor to assist in situ, real-time, and objective evaluation of human pancreatic tissues during EUS-FNA. A proof-of-concept prototype sensor, compatible with a 19-gauge hollow-needle commercially available for EUS-FNA, was constructed using microsized optoelectronic chips and microfabrication techniques to perform multisite tissue optical sensing. In our bench-top verification and pilot validation during surgery on freshly excised human pancreatic tissues (four patients), the fabricated sensors showed a comparable performance to our previous fiber-based system. The flexibility in source-detector configuration using microsized chips potentially allows for various light-based sensing techniques inside a confined channel such as a hollow needle or endoscopy.Copyright © 2020 The Authors, some rights reserved; exclusive licensee American Association for the Advancement of Science. No claim to original U.S. Government Works. Distributed under a Creative Commons Attribution NonCommercial License 4.0 (CC BY-NC).