Earthquake early warning represents a vital and effective strategy for mitigating earthquake-related losses. Among the existing sensors for earthquake early warning, MEMS accelerometers involve complex manufacturing process, leading to high research and development costs and long cycles. Traditional mechanical sensors are bulky, costly, hence not suitable for large-scale, high-density monitoring network. In this study, a low-cost accelerometer using glass fiber reinforced epoxy resin is proposed for longitudinal seismic waves (P-waves) early warning. Both theorical and finite element analysis are carried out to define and optimize the initial structure of the accelerometer. A pre-deformation structure is implemented into the spring suspension system to offset the influence of the sensor’s gravity, so that a self-balanced state in the direction of gravity is achieved. The simulation results show that the accelerator can achieve an eigenfrequency of 12.67 Hz, a Q-value of 49.2, and mechanical thermal noise of 1.72×10-9g/Hz. Based on the simulation results, the accelerometer’s structure is processed using a computer numerical control (CNC) milling machine, and tested by collecting the voltage signals when the accelerometer’s structure undergoes an impact in the direction of the gravity. The measured eigenfrequency is around 10 Hz, and the signal attenuation rate closely aligns with the simulation results. The accelerometer structure has dimensions within 6 cm and a relatively simplified manufacturing process, making it a cost-effective solution for the development of large-scale, high-density earthquake early warning systems.