The invention belongs to the technical field of medical early warning, and discloses a stroke early warning system and method. The stroke early warning system includes: an image acquisition module, a physiological index acquisition module, a main control module, an image processing module, a risk assessment module, an alert module, and a data storage module, display module. The invention can solve the automatic identification and segmentation of the cerebral ischemic region in the hyperacute stage through the image processing module, and improve the segmentation accuracy of the ischemic region; through the risk assessment module, according to data preprocessing, feature selection, and feature optimization, the obtained data features are more accurate. Effective; the XGBoost method is used to automatically generate the risk probability of stroke in the target population, which can conduct community health census more efficiently and conveniently, and help doctors to assess the stroke risk of the target population more simply and quickly; it can effectively promote the health census to Find potential stroke users faster, remind them earlier, and treat them earlier and more effectively.