BackgroundThe current techniques for determining carbon and nitrogen content to provide information about the nutritional status of plants are time‐consuming and expensive. For this reason, the objective of this study was to develop an analytical method for the direct and simultaneous determination of nitrogen and carbon elemental content in soybean leaves using near‐infrared spectroscopy (NIRS) and compare the performance of conventional (1,100–2,500 nm spectral range) and portable equipment (1,100–1,700 nm spectral range). Partial least squares (PLS) regression models were developed using 27 soybean leaf samples collected during the 2021 harvest and applied for the simultaneous determination of carbon and nitrogen in 13 samples collected during the 2022 harvest.ResultsThe benchtop method yielded low root mean square error of prediction (RMSEP) values for nitrogen and carbon (2.42 g kg‐1 and 4.37 g kg‐1 respectively), while the portable method had higher RMSEP values (3.82 g kg‐1 and 10.7 g kg‐1 respectively). The benchtop method did not show significant differences when compared to the reference method for determining nitrogen and carbon. In contrast, the portable methodology showed potential as a screening method for determining nitrogen levels, particularly in fieldwork.ConclusionThe methodologies evaluated in this study were implemented and evaluated under real crop monitoring conditions, using independent sets of calibration and prediction samples. Their utilization enables the acquisition of cost‐effective, safe analytical data aligning with the principles of green analytical chemistry.This article is protected by copyright. All rights reserved.