The invention relates to a method and an intelligent bed for detecting respiration rates and heart rates without constraints. The method includes steps of 1), preprocessing heart impact signals; 2), preprocessing respiration signals; 3), analyzing signal cycles, to be more specific, detecting wave peaks of 2n preprocessed pressure signals and preprocessed acceleration signals and carrying out threshold judgment on the preprocessed pressure signals and the preprocessed acceleration signals to obtain respiration and heartbeat cycles of users; 4), computing the heart rates and the respiration rates, to be more specific, dividing the heartbeat cycles obtained at the step 3) by 60 to obtain the heart rates of the users, acquiring 2n respiration cycles by 2n pressure sensors by the aid of the step 3), computing average values of the 2n respiration cycles to obtain average respiration cycles, and dividing the average respiration cycles by 60 to obtain the respiration rates of the users. The method and the intelligent bed have the advantages that vibration acceleration of a bed can change by the aid of heart impact, the heart rates can be extracted by the aid of the change of the vibration acceleration of the bed, the respiration rates can be extracted by the aid of change of pressures which are applied by the thoracic cavities to the bed in respiration movement, and accordingly the heart rates and the respiration rates can be detected without the constraints; the method and the intelligent bed are high in output accuracy and recognition speed and good in real-time performance.